-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
WIP: Migrate to jest #6179
WIP: Migrate to jest #6179
Conversation
@danez, thanks for your PR! By analyzing the history of the files in this pull request, we identified @existentialism, @hzoo and @motiz88 to be potential reviewers. |
@danez we recently released new major. |
I dived deep into the jest source just to find out that I don't see any way we can use jest to test babel-register. Require hooks seem to not be testable with jest, because jest has it's own require implementation that does not respect require hooks. So we could either stay with mocha, or migrate to ava (meh) or use jest and only for babel-register use another test framework? Thoughts? |
@danez I actually encountered similar issues testing babel-register dependent code, and the workaround was to use Node's |
Rebase and squash of #5359
This does not work correctly so far because jestjs/jest#4393 is not released yet.
Some tests are not working and I haven't found a solution or did not look at them yet.
//cc @cpojer