UNPKG

@kamiazya/jest-dynamic

Version:

An extension to dynamically switch the Jest test suite according to the environment (such as platform).

8 lines (7 loc) 197 B
/// <reference types="jest" /> export interface ITestClosures { describe: jest.Describe; test: jest.It; it: jest.It; } export declare type Condition = boolean | (() => boolean);