jest @jest/types config is missing timers option - TypeScript

🐛 Bug Report

@jest/types config in Config.ts, InitialOptions and DefaultOptions needs to have timers: 'real' | 'fake' | 'modern';

To Reproduce

Navigate to jest/packages/jest-types/src/Config.ts. Observe that the timers field in InitialOptions and DefaultOptions is missing the option modern.

Expected behavior

The timers field has an option for modern.


    OS: Windows 10 10.0.19042
    CPU: (12) x64 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz
    Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
Asked Oct 14 '21 19:10
avatar trevordavis

1 Answer:

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

Answered May 11 '21 at 03:09
avatar  of github-actions[bot]