jest-circus

  • Version 30.0.0
  • Published
  • 142 kB
  • 20 dependencies
  • MIT license

Install

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

Overview

Overview not available.

Index

Variables

variable _default

const _default: {
afterAll: THook;
afterEach: THook;
beforeAll: THook;
beforeEach: THook;
describe: {
(blockName: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
each: Global_2.EachTestFn<any>;
only: {
(blockName: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
each: Global_2.EachTestFn<any>;
};
skip: {
(blockName: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
each: Global_2.EachTestFn<any>;
};
};
it: Global_2.It;
test: Global_2.It;
};

    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: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
            each: Global_2.EachTestFn<any>;
            only: {
            (blockName: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
            each: Global_2.EachTestFn<any>;
            };
            skip: {
            (blockName: Circus.BlockNameLike, blockFn: Circus.BlockFn): void;
            each: Global_2.EachTestFn<any>;
            };
            };

              variable it

              const it: Global_2.It;

                variable test

                const test: Global_2.It;

                  Functions

                  function addEventHandler

                  addEventHandler: (handler: Circus.EventHandler) => void;

                    function getState

                    getState: () => Circus.State;

                      function removeEventHandler

                      removeEventHandler: (handler: Circus.EventHandler) => void;

                        function resetState

                        resetState: () => void;

                          function run

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

                            function setState

                            setState: (state: Circus.State) => Circus.State;

                              Type Aliases

                              type Event

                              type Event_2 = Circus.Event;

                                type State

                                type State = Circus.State;

                                  Package Files (1)

                                  Dependencies (20)

                                  Dev Dependencies (8)

                                  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>