Post

How to speed up vitest: De-barrel everything so that the module graph gets smaller. Saves both processing + import time. And get rid of module mocks, which prevents many de-barelling opportunities.

6 reposts60 likes

Is there a good blog post/podcast/video because could use speeding up vitest strategies for work because we have some repos with lots of tests that take a long time to run