-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[7.0] Tests: switch to jest #5197
Copy link
Copy link
Closed
Labels
Has PRclaimedoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Milestone
Description
I think we are using like 3 different testing frameworks and would like to move to use the same one for all projects? I believe the team agreed with choosing jest a good base (and is possible since we have dropped node 0.10/0.12 in 7.0).
Not sure how difficult this is but shouldn't be too bad and we can help.
- Comment below you are going to do this (for others to know)
- Read CONTRIBUTING.md
- Check you are on 7.0 branch with
git checkout 7.0and then make a branch off of that to PR - Join our slack if you haven't already if you need more immediate help or just comment in this issue/PR
- modify dependencies https://github.com/babel/babel/blob/7.0/package.json#L41
- modify options https://github.com/babel/babel/tree/7.0/test
- each package in babel/packages/* has a test directory
- might be a bit tricky but you can test with
make test-onlyorTEST_GREP=transformation make testfor a subset - https://github.com/babel/babel/tree/7.0/packages/babel-cli/test figure out if anything needs to be converted.
- might be a bit tricky but you can test with
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Has PRclaimedoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue