Hacker News new | ask | show | jobs
by MuffinFlavored 3222 days ago
Do you have any advice on how to get off of Karma with Angular 1 apps?
1 comments

Well why do you want to do that, if you are finding the tests are too slow it maybe worth writing some tests with jasmine that can be run in node without a browser.

That's what we currently do, karma and browser testing are useful but sometimes you can get away with not using them.

One thing we are trying is using JSDom to run browser based tests in node

We ported all our karma/Jasmine tests to (ts-)jest. Works great. Comes with JsDOM out of the box.
Do you have any advice / links on how to do that? May be you should write a blog post about it. :)