Page Contents
Home > @loopback/testlab > TestSandboxOptions > subdir
TestSandboxOptions.subdir property
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 assub-dir-1
: creates a subdirectory with the given value.
Signature:
subdir: boolean | string;