jest-environment-jsdom

  • Version 27.4.6
  • Published
  • 8.1 kB
  • 7 dependencies
  • MIT license

Install

npm i jest-environment-jsdom
yarn add jest-environment-jsdom
pnpm add jest-environment-jsdom

Overview

Overview not available.

Index

Classes

class JSDOMEnvironment

class JSDOMEnvironment implements JestEnvironment<number> {}

    constructor

    constructor(config: Config.ProjectConfig, options?: EnvironmentContext);

      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 (7)

                    Dev Dependencies (2)

                    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-jsdom.

                    • Markdown
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/jest-environment-jsdom)
                    • HTML
                      <a href="https://www.jsdocs.io/package/jest-environment-jsdom"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>