@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 1.2 kB
Markdown
---
lang: en
title: 'API docs: testlab.testsandboxoptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/testlab
permalink: /doc/en/lb4/apidocs.testlab.testsandboxoptions.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/testlab](./testlab.md) > [TestSandboxOptions](./testlab.testsandboxoptions.md)
## TestSandboxOptions interface
Options for a test sandbox
<b>Signature:</b>
```typescript
export interface TestSandboxOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [subdir](./testlab.testsandboxoptions.subdir.md) | <code>boolean | string</code> | The <code>subdir</code> controls if/how the sandbox creates a subdirectory under the root path. It has one of the following values:<!-- -->- <code>true</code>: Creates a unique subdirectory. This will be the default behavior. - <code>false</code>: Uses the root path as the target directory without creating a subdirectory. - a string such as <code>sub-dir-1</code>: creates a subdirectory with the given value. |