feat(jest-fake-timers): Add feature to enable automatically advancing… #14125
Annotations
4 errors and 2 warnings
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:
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
Final attempt failed. Child_process exited with error code 1
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading