Skip to content

Commit 8867abe

Browse files
committed
I don't know how istanbul works
and I don't care
1 parent bb44f29 commit 8867abe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/helpers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function runWithRealTimers(callback) {
1010
return runWithJestRealTimers(callback).callbackReturnValue
1111
}
1212

13+
// istanbul ignore next
1314
return callback()
1415
}
1516

@@ -46,6 +47,8 @@ function jestFakeTimersAreEnabled() {
4647
if (typeof jest !== 'undefined') {
4748
return runWithJestRealTimers(() => {}).usedFakeTimers
4849
}
50+
51+
// istanbul ignore next
4952
return false
5053
}
5154

0 commit comments

Comments
 (0)