Post

I think I have to learn how to switch my Nx monorepo from jest to vitest, esp. because I need ES2022 to compile my code and Jest has problems with async tests (some weird Angular error about "ProxyZone" I don't remember...).

0 reposts1 like

If you’re not in a rush and can wait few days. I am working on a migration guide that should help you. Hard to speculate on the root cause of the ProxyZone but in testing it sometimes related to async/await not being downgraded… and both jest preset angular & vitest plugin handle that properly.