Skip to content

feat(jest-fake-timers): Add feature to enable automatically advancing… #14124

feat(jest-fake-timers): Add feature to enable automatically advancing…

feat(jest-fake-timers): Add feature to enable automatically advancing… #14124

Triggered via pull request September 23, 2024 21:23
Status Cancelled
Total duration 5m 46s
Artifacts

nodejs.yml

on: pull_request
prepare-yarn-cache-ubuntu  /  Prepare yarn cache for ubuntu-latest
13s
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
prepare-yarn-cache-macos  /  Prepare yarn cache for macos-latest
20s
prepare-yarn-cache-macos / Prepare yarn cache for macos-latest
prepare-yarn-cache-windows  /  Prepare yarn cache for windows-latest
54s
prepare-yarn-cache-windows / Prepare yarn cache for windows-latest
TypeScript Compatibility
3m 12s
TypeScript Compatibility
Typecheck Examples and Tests
3m 5s
Typecheck Examples and Tests
Lint
1m 49s
Lint
Validate Yarn dependencies and constraints
19s
Validate Yarn dependencies and constraints
Node LTS on Ubuntu with leak detection
1m 7s
Node LTS on Ubuntu with leak detection
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Fit to window
Zoom out
Zoom in

Annotations

88 errors and 12 warnings
Lint
Process completed with exit code 1.
Typecheck Examples and Tests: packages/jest-runtime/src/index.ts#L2299
Property 'setAdvanceTimersAutomatically' is missing in type '{ advanceTimersByTime: (msToRun: number) => void; advanceTimersByTimeAsync: (msToRun: number) => Promise<void>; advanceTimersToNextFrame: () => void; advanceTimersToNextTimer: (steps: number | undefined) => void; ... 44 more ...; useRealTimers: () => Jest; }' but required in type 'Jest'.
Typecheck Examples and Tests
Process completed with exit code 1.
TypeScript Compatibility: packages/jest-runtime/src/index.ts#L2299
Property 'setAdvanceTimersAutomatically' is missing in type '{ advanceTimersByTime: (msToRun: number) => void; advanceTimersByTimeAsync: (msToRun: number) => Promise<void>; advanceTimersToNextFrame: () => void; advanceTimersToNextTimer: (steps: number | undefined) => void; ... 44 more ...; useRealTimers: () => Jest; }' but required in type 'Jest'.
TypeScript Compatibility
Process completed with exit code 1.
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 1/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 1/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 1/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 1/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 1/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 2/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 1/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 2/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 1/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 2/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 2/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 3/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 1/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 2/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 2/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 2/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 3/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v16.x
The operation was canceled.
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v18.x
The operation was canceled.
Windows with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 1/4 / Node LTS using jest-jasmine2
The operation was canceled.
macOS with shard 3/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 3/3 / Node v20.x
The operation was canceled.
macOS with shard 3/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 3/4 / Node v22.x
The operation was canceled.
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
The operation was canceled.
Ubuntu with shard 1/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 1/4 / Node v18.x
The operation was canceled.
Ubuntu with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v20.x
The operation was canceled.
Ubuntu with shard 1/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Ubuntu with shard 1/4 / Node v16.x
The operation was canceled.
Ubuntu with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Ubuntu with shard 4/4 / Node v22.x
The operation was canceled.
macOS with shard 3/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 3/3 / Node v22.x
The operation was canceled.
macOS with shard 1/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
macOS with shard 1/3 / Node LTS using jest-jasmine2
The operation was canceled.
macOS with shard 3/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
macOS with shard 3/3 / Node v18.x
The operation was canceled.
Windows with shard 2/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 2/4 / Node LTS using jest-jasmine2
The operation was canceled.
Windows with shard 1/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 1/4 / Node v16.x
A task was canceled.
Windows with shard 1/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
Windows with shard 1/4 / Node v18.x
The operation was canceled.
Node LTS on Ubuntu with coverage (1/4)
Canceling since a higher priority waiting request for 'Node CI-autoAdvance' exists
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
`@sinonjs/fake-timers` integration › overrides custom global config: 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)
Node LTS on Ubuntu with coverage (1/4)
The operation was canceled.
Ubuntu with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (1/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (1/4)
Attempt 2 failed. Reason: Child_process exited with error code 1