test-utils icon indicating copy to clipboard operation
test-utils copied to clipboard

Using the server from multiple test files does multiple unneccessary build runs

Open Beiri22 opened this issue 1 year ago • 0 comments

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.

Beiri22 avatar Feb 28 '23 16:02 Beiri22