@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
65 lines (34 loc) • 1.05 kB
Markdown
---
lang: en
title: 'API docs: testlab.testsandbox.mkdir'
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.testsandbox.mkdir.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/testlab](./testlab.md) > [TestSandbox](./testlab.testsandbox.md) > [mkdir](./testlab.testsandbox.mkdir.md)
## TestSandbox.mkdir() method
Makes a directory in the TestSandbox
**Signature:**
```typescript
mkdir(dir: string): Promise<void>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
dir
</td><td markdown="1">
string
</td><td markdown="1">
Name of directory to create (relative to TestSandbox path)
</td></tr>
</tbody></table>
**Returns:**
Promise<void>