Page Contents
Home > @loopback/testlab > TestSandboxOptions
TestSandboxOptions interface
Options for a test sandbox
Signature:
export interface TestSandboxOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [subdir](/doc/en/lb4/apidocs.testlab.testsandboxoptions.subdir.html) | boolean \| string | The `subdir` controls if/how the sandbox creates a subdirectory under the root path. It has one of the following values: - `true`: Creates a unique subdirectory. This will be the default behavior. - `false`: Uses the root path as the target directory without creating a subdirectory. - a string such as `sub-dir-1`: creates a subdirectory with the given value. |