-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: options.sourcesRelatedToTestsInChangedFiles.has is not a function #9910
Comments
Yeah, seems like it. If I set |
I'm guessing we're missing serialization and deserialization https://github.com/facebook/jest/blob/d425a49bd575e7167bc786f3c4f2833589091fa1/packages/jest-runner/src/index.ts#L156-L161 Ideally we'd somehow tell TS about it so it would have warned us, but for now we should just hotfix this so I can get a patch out. It's 23:30 here though, so I won't get to it until tomorrow. |
I Will look into this tonight, though I'm in UTC+8 and it's 10:00 now here. |
Fixed in 25.5.1 |
Thanks for the fix! |
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. |
🐛 Bug Report
After upgrading to
25.5.0
, started seeing an error in Watch mode.To Reproduce
Run jest as
jest --watch
, then update some test files. Sample error output:envinfo
The text was updated successfully, but these errors were encountered: