Hacker News new | ask | show | jobs
by royka118 3216 days ago
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

1 comments

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. :)