test-utils
test-utils copied to clipboard
Using the server from multiple test files does multiple unneccessary build runs
We are using multiple .test.ts
- files to structure our tests. All of them are using the server and thus the configuration await setup({server: true, dev: false});
Watching the tests progress, I noticed that the server is built for every test file again. I my opinion this is an unneccessary waste of time. The server could be build a single time at the beginning of the test run.