3 ms·
webpack is usually fast enough, jest is where I need CPU & RAM. If I were to write tests, that is.
by cuddlecake 5y ago
webpack is usually fast enough, jest is where I need CPU & RAM.
If I were to write tests, that is.
- Oddskar 5y agoPro tip: if you can switch some tests from using JSDOM to Node as the test environment they will run significantly faster.
- cuddlecake 5y agoAh, thanks for the tip. It will probably not change much for the project I currently work on, with tests using react-testing-library, so JSDOM is required in nearly all test files. But at least now I know :D