@langri-sha/jest-test
v0.10.5
Published
Provides some useful helpers that are commonly used for authoring tests.
Readme
@langri-sha/jest-test
Provides some useful helpers that are commonly used for authoring tests.
Usage
Install the required dependencies:
npm install -D jest @langri-sha/jest-testThen import your Jest test dependencies from here:
// some.test.js
import { expect, test, temporaryDirectory } from '@langri-sha/jest-test'
test(/*...*/)tempy is re-exported under its own named API (temporaryFile,
temporaryDirectory, temporaryWrite, …) rather than as a tempy namespace.
