feat(jest-fake-timers): Add feature to enable automatically advancing… #14127
Annotations
4 errors and 1 warning
|
run tests:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
@@ -1,10 +1,10 @@
Object {
"advanceTimeDelta": undefined,
"loopLimit": 1000,
"now": 123456,
- "shouldAdvanceTime": false,
+ "shouldAdvanceTime": true,
"shouldClearNativeTimers": true,
"toFake": Array [
"Date",
"cancelAnimationFrame",
"clearImmediate",,
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-fake-timers/src/__tests__/sinon-integration.test.ts:169:25)
|
run tests:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
@@ -1,10 +1,10 @@
Object {
"advanceTimeDelta": undefined,
"loopLimit": 1000,
"now": 123456,
- "shouldAdvanceTime": false,
+ "shouldAdvanceTime": true,
"shouldClearNativeTimers": true,
"toFake": Array [
"Date",
"cancelAnimationFrame",
"clearImmediate",,
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-fake-timers/src/__tests__/sinon-integration.test.ts:169:25)
|
run tests
The operation was canceled.
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Loading