jest-circus

  • Version 27.2.5
  • Published
  • 78 kB
  • 19 dependencies
  • MIT license

Install

npm i jest-circus
yarn add jest-circus
pnpm add jest-circus

Overview

[type-definitions]: https://github.com/facebook/jest/blob/main/packages/jest-types/src/Circus.ts

Index

Variables

variable _default

const _default: {
afterAll: THook;
afterEach: THook;
beforeAll: THook;
beforeEach: THook;
describe: {
(blockName: string, blockFn: any): void;
each: (
table: any,
...taggedTemplateData: any
) => (title: string, test: any, timeout?: number | undefined) => void;
only: {
(blockName: string, blockFn: any): void;
each: (
table: any,
...taggedTemplateData: any
) => (title: string, test: any, timeout?: number | undefined) => void;
};
skip: {
(blockName: string, blockFn: any): void;
each: (
table: any,
...taggedTemplateData: any
) => (title: string, test: any, timeout?: number | undefined) => void;
};
};
it: any;
test: any;
};

    variable afterAll

    const afterAll: THook;

      variable afterEach

      const afterEach: THook;

        variable beforeAll

        const beforeAll: THook;

          variable beforeEach

          const beforeEach: THook;

            variable describe

            const describe: {
            (blockName: any, blockFn: any): void;
            each: (
            table: any,
            ...taggedTemplateData: any
            ) => (title: string, test: any, timeout?: number | undefined) => void;
            only: {
            (blockName: any, blockFn: any): void;
            each: (
            table: any,
            ...taggedTemplateData: any
            ) => (title: string, test: any, timeout?: number | undefined) => void;
            };
            skip: {
            (blockName: any, blockFn: any): void;
            each: (
            table: any,
            ...taggedTemplateData: any
            ) => (title: string, test: any, timeout?: number | undefined) => void;
            };
            };

              variable it

              const it: any;

                variable test

                const test: any;

                  Functions

                  function getState

                  getState: () => any;

                    function resetState

                    resetState: () => void;

                      function run

                      run: () => Promise<Circus.RunResult>;

                        function setState

                        setState: (state: any) => any;

                          Type Aliases

                          type Event

                          type Event = Circus.Event;

                            type State

                            type State = Circus.State;

                              Package Files (3)

                              Dependencies (19)

                              Dev Dependencies (10)

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

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