---
lang: en
title: 'API docs: testlab.testsandboxoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/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) &gt; [@loopback/testlab](./testlab.md) &gt; [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) | boolean \| string | 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. |


