DEV Community

loading...

Discussion on: Make your Angular tests 1000% faster by switching from Karma to Jest

Collapse
dylanwatsonsoftware profile image
Dylan Watson Author

Hmm yep I think thats definitely fair. Due to the fact that Jest runs jsdom and not a real browser, there is definitely some things it won't be able to test properly, I suppose WebRTC is one of them.

I have seen some issues in the jest github repo recently about jest slowing down in recent versions.. perhaps its related?

If you are having issues with speed you could try running sequentially: jestjs.io/docs/en/troubleshooting#...