@kamiazya/jest-dynamic
Version:
An extension to dynamically switch the Jest test suite according to the environment (such as platform).
8 lines (7 loc) • 307 B
TypeScript
/// <reference types="node" />
import { ITestClosures } from './types';
/**
* Run one test of the block targeted for the specified platform.
*/
export declare function onlyOn(platform: NodeJS.Platform): ITestClosures;
export declare function onlyOn(...platforms: NodeJS.Platform[]): ITestClosures;