jest-environment-node
- Version 30.2.0
- Published
- 15.7 kB
- 7 dependencies
- MIT license
Install
npm i jest-environment-nodeyarn add jest-environment-nodepnpm add jest-environment-nodeOverview
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_2.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 (7)
Dev Dependencies (2)
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[](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 2915 ms. - Missing or incorrect documentation? Open an issue for this package.
