UNPKG

@kamiazya/jest-dynamic

Version:

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

6 lines (5 loc) 186 B
import { Condition, ITestClosures } from './types'; /** * Run one test of the block targeted on condition. */ export declare function onlyIf(condition: Condition): ITestClosures;