jest-mock-node-env
v0.1.3
Published
Resets node environment after each test to the default (usually 'test').
Downloads
3
Readme
jest-mock-node-env
Resets node environment after each test to the default (usually 'test').
Getting started
Install
yarn add --dev jest-mock-node-env
Import in any test or at the top of your setup tests file
// setupTests.ts, some-test.spec.ts, some-test.test.ts, etc.
import 'jest-mock-node-env';