You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Math.random is not a function
at randomIntInRange (node_modules/source-map/lib/quick-sort.js:43:33)
Last working version
Worked up to version: 25.5.4
Stopped working in version: 26.0.0
I think it might be related to some transient dependency as I have other repos with jest@~26.4.0 that work just fine, but installing from scratch breaks. Yay lockfiles.
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.
💥 Regression Report
Last working version
Worked up to version: 25.5.4
Stopped working in version: 26.0.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests pass and accessing
Math
is fast. See #5163 on why this is needed.Link to repl or repo (highly encouraged)
https://repl.it/repls/RoundFortunateUnits#jest.config.js
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: