Skip to content

Commit b872029

Browse files
eritikassSimenB
authored andcommitted
disable eslint no-bitwise for mock timer delay check (#5992)
1 parent 3341d16 commit b872029

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/jest-util/src/fake_timers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ export default class FakeTimers<TimerRef> {
486486
return null;
487487
}
488488

489+
// eslint-disable-next-line no-bitwise
489490
delay = Number(delay) | 0;
490491

491492
const args = [];

0 commit comments

Comments
 (0)