Get a fresh tmpdir for tests
MIT License
Get a fresh tmpdir for tests
npm install test-tmp
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)
})
MIT