jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.12k stars 6.44k forks source link

[Bug]: Cannot mock new Date in async tests. #15123

Closed constantin-angheloiu closed 1 month ago

constantin-angheloiu commented 3 months ago

Version

3232

Steps to reproduce

Cannot mock new Date in async tests.

Expected behavior

Cannot mock new Date in async tests.

Actual behavior

Cannot mock new Date in async tests.

Additional context

Cannot mock new Date in async tests.

Environment

Cannot mock new Date in async tests.
github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] commented 2 weeks ago

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.