Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
javajosh
· 5y ago · 0 comments
In general, the people here will use the perf to run webpack faster.
Comments
[–]
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 ago
Pro tip: if you can switch some tests from using JSDOM to Node as the test environment they will run significantly faster.
[–]
cuddlecake
5y ago
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