Skip to content

Commit d6930df

Browse files
committed
fix (test): use 0 for sinon fake timers arg
1 parent 867639e commit d6930df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/Clock.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import sinon from 'sinon'
55
import App from '../examples/clock/App'
66

77
describe('Clock App', () => {
8-
const clock = sinon.useFakeTimers()
8+
const clock = sinon.useFakeTimers(0)
99
const app = mount(<App />)
1010
const clearIntervalSpy = sinon.spy(global, 'clearInterval')
1111

0 commit comments

Comments
 (0)