You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use vue-test-utils which uses mochapack under the hood.
In our CI environment, we run our unit tests which involves mochapack compiling our sources before the tests run - we see a similar balance between compile & test times as the comment above.
There's currently no way to cache these compiled sources between runs or even locally.
Ideally, we would like to be able to compile with one npm script (maybe a flag on mochapack?), and test with another - this would allow us to cache the output of the compilation in a docker layer, greatly speeding up our CI & local development!
webpack 5 has a file cache.
I wish mochapack would use it.
Now it turns out that the build server spends 160 seconds building, and the tests themselves run 5 seconds.
the next time, he collects everything again and spends + - the same amount of war. When, could collect only changed files
The text was updated successfully, but these errors were encountered: