Move tests to jest
See original GitHub issueWhat the issue is about
Right now we’re using karma for some tests and jest for the other ones. Jest is faster, so we should set up all our tests to use it
Where to start
We’re using nx, check out their docs for moving to jest
Search for test
in package json to see how we run tests now
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Migrating to Jest
Jest Codemods can migrate from chai (see below). ... To transform your existing tests, navigate to the project containing the tests and run:....
Read more >How do I move jest tests to a /test folder and get them to run?
I solved the problem by just setting the regex so it finds all .js files in my ./test folder: "jest": { "preset": "react-native", ......
Read more >Migrate from Jasmine to Jest and Testing Library in Angular
I decided to move all my Angular projects to Jest and testing library for a few reasons. Jest is: Faster than Karma. Easy...
Read more >Jest Testing Tutorial: 5 Easy Steps - Testim Blog
Jest is a popular test framework for JavaScript. It claims to provide “delightful JavaScript testing” and, after our tutorial, I bet you might ......
Read more >Move unit tests to jest instead of cypress · Issue #91 · dhis2/ui
I would be in favour of moving as much tests as possible to jest. My proposal would be to do all our unit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I primarily tried to get kirjs’s tests running and functional. If you look at any other project the tests may be less functional. All of the tests should now be running under the jest framework, though.
Yes, all apps should use jest in the end. Breaking the work up per-app would make sense to me.
Also note that some tests are still broken, fixing them doesn’t have to be part of this task