Skip to content
2 changes: 2 additions & 0 deletions src/helpers/timers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* globals jest */
const globalObj = typeof window === 'undefined' ? global : window;

// trigger pipeline

// Currently this fn only supports jest timers, but it could support other test runners in the future.
function runWithRealTimers<T>(callback: () => T): T {
const fakeTimersType = getJestFakeTimersType();
Expand Down