jest-environment-node
- Version 29.7.0
- Published
- 9.37 kB
- 6 dependencies
- MIT license
Install
npm i jest-environment-node
yarn add jest-environment-node
pnpm add jest-environment-node
Overview
Overview not available.
Index
Variables
variable TestEnvironment
const TestEnvironment: typeof NodeEnvironment;
Classes
class NodeEnvironment
class NodeEnvironment implements JestEnvironment<Timer> {}
constructor
constructor(config: JestEnvironmentConfig, _context: EnvironmentContext);
property context
context: any;
property customExportConditions
customExportConditions: string[];
property fakeTimers
fakeTimers: any;
property fakeTimersModern
fakeTimersModern: any;
property global
global: Global.Global;
property moduleMocker
moduleMocker: any;
method exportConditions
exportConditions: () => Array<string>;
method getVmContext
getVmContext: () => Context | null;
method setup
setup: () => Promise<void>;
method teardown
teardown: () => Promise<void>;
Package Files (1)
Dependencies (6)
Dev Dependencies (1)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-environment-node
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/jest-environment-node)
- HTML<a href="https://www.jsdocs.io/package/jest-environment-node"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2333 ms. - Missing or incorrect documentation? Open an issue for this package.