@helpscout/cyan
Version:
Cypress-like Testing for React + JSDOM
8 lines (7 loc) • 402 B
TypeScript
export declare const useFakePromises: () => void;
export declare const clearFakePromises: () => void;
export declare const runNextPromise: () => void;
export declare const runAllPromises: () => void;
export declare const runPromisesImmediately: () => void;
export declare const forceAllPromisesToResolve: (callback: any) => void;
export declare const forceAllPromisesToReject: (callback: any) => void;