feat(jest-fake-timers): Add feature to enable automatically advancing… #14117
Annotations
10 errors and 1 warning
packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts#L1263
Expected object keys to be in ascending order. 'clearInterval' should be before 'setInterval'
|
packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts#L1266
Expected object keys to be in ascending order. 'console' should be before 'setTimeout'
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L150
Replace `fakeTimersConfig·&&·typeof·fakeTimersConfig.advanceTimers·===·'object'` with `⏎······fakeTimersConfig·&&⏎······typeof·fakeTimersConfig.advanceTimers·===·'object'⏎····`
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L155
Replace `|` with `·|·`
|
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L250
Replace `|` with `·|·`
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L251
Type boolean trivially inferred from a boolean literal, remove type annotation
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L258
Replace `typeof·advanceTimersConfig·===·'object'·&&·advanceTimersConfig.mode·===·'interval'` with `⏎······typeof·advanceTimersConfig·===·'object'·&&⏎······advanceTimersConfig.mode·===·'interval'⏎····`
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L277
Expected property shorthand
|
packages/jest-runtime/src/index.ts#L2349
Delete `⏎`
|
packages/jest-fake-timers/src/modernFakeTimers.ts#L160
Unexpected console statement
|
This job failed
Loading