Hacker News new | past | comments | ask | show | jobs | submit login

webpack is usually fast enough, jest is where I need CPU & RAM.

If I were to write tests, that is.




Pro tip: if you can switch some tests from using JSDOM to Node as the test environment they will run significantly faster.


Ah, 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: