Hacker News new | ask | show | jobs
by franciscop 3487 days ago
I just migrated a project[1] to Jest. Now I totally think that Jest is AWESOME.

Before I was mangling with Grunt and PhantomJS, but due to PhantomJS version being back ages I couldn't really test ES6 so I had to do a hybrid and running mocha in an actual browser, and the rest of the dev stack in grunt. Now I am able to do it all automatically. Not only that, but jest includes a browser by default which supports ES6 and an assertion library, so just with 'jest' I am doing the same that I did before with mocha, chai and PhantomJS (+ the pain of installing PhantomJS separately).

I am not so much into React, but I just fell in love with Jest. Testing will be something totally different from now on, thank you Facebook.

[1] http://github.com/franciscop/superdom.js

PS, it was a bit more difficult to integrate Jest into Grunt and I get it without the colors, but I'm sure I'll find a solution soon-ish.