jest-environment-jsdom

  • Version 29.7.0
  • Published
  • 9.21 kB
  • 8 dependencies
  • MIT license

Install

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

Overview

Overview not available.

Index

Variables

variable TestEnvironment

const TestEnvironment: typeof JSDOMEnvironment;

    Classes

    class JSDOMEnvironment

    class JSDOMEnvironment implements JestEnvironment<number> {}

      constructor

      constructor(config: JestEnvironmentConfig, context: EnvironmentContext);

        property customExportConditions

        customExportConditions: string[];

          property dom

          dom: any;

            property fakeTimers

            fakeTimers: any;

              property fakeTimersModern

              fakeTimersModern: any;

                property global

                global: any;

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

                            Dev Dependencies (1)

                            Peer Dependencies (1)

                            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>