Is anyone experiencing i…

less than 1 minute read

Is anyone experiencing incredibly slow jest tests in angular? I have test suites that are barely doing anything (only a couple of it’s) and they can take up to 100s to run per spec file.

This is the command I am running:

yarn nx affected:test --base=origin/develop --passWithNoTests --ci --parallel --maxWorkers=2 --maxParallel=3 That was ~180 test suites (a large majority of them are just doing the initial render and expecting the component/controller/service to be truthy) and it took 1574.96s I feel like that is pretty long? I could be wrong as I have nothing to peg it against but it is taking a while to run our affected (I do need to spend some time and decouple our dep graph more though as there are a lot of things affected that shouldn’t be).

Updated: