jest-environment-node

  • Version 27.3.1
  • Published
  • 6.82 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

Classes

class NodeEnvironment

class NodeEnvironment implements JestEnvironment<Timer> {}

    constructor

    constructor(config: any);

      property context

      context: any;

        property fakeTimers

        fakeTimers: any;

          property fakeTimersModern

          fakeTimersModern: any;

            property global

            global: any;

              property moduleMocker

              moduleMocker: any;

                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 onejsDocs.io badgeto 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>