🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

test-tmp

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-tmp

Get a fresh tmpdir for tests

Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
9.5K
-0.39%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 20 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts