@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
5 lines (4 loc) • 386 B
TypeScript
declare function runWithRealTimers<T>(callback: () => T): T;
declare const jestFakeTimersAreEnabled: () => boolean;
declare const clearTimeoutFn: typeof clearTimeout, setImmediateFn: typeof setImmediate, setTimeoutFn: typeof setTimeout;
export { runWithRealTimers, jestFakeTimersAreEnabled, clearTimeoutFn as clearTimeout, setImmediateFn as setImmediate, setTimeoutFn as setTimeout, };