1.2.1 • Published 1 month ago

test-tmp v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

test-tmp

Get a fresh tmpdir for tests

npm install test-tmp

Usage

const test = require('brittle')
const tmp = require('test-tmp')

test('my test', async function (t) {
  const dir = await tmp(t)
  console.log('fresh dir for this test', dir)
})

License

MIT

1.2.1

1 month ago

1.2.0

3 months ago

1.1.1

4 months ago

1.1.0

4 months ago

1.0.2

10 months ago

1.0.0

11 months ago

0.0.0

11 months ago

1.0.1

5 years ago