News for hackers. Stuff that matters.
Re:Jest – Painless JavaScript Testing by tieTYT on Wednesday May 14, 2014 @05:57PM (#7746675)
Nice. When will there be a grunt plugin for it? I'm using the qunit plugin right now and I notice that it's 10x slower to run than viewing it in the browser. This 10 second feedback loop is driving me crazy.
Re:Jest – Painless JavaScript Testing by jeffmo on Wednesday May 14, 2014 @09:07PM (#7747455)
About a month or three ago I hacked up a grunt task for React, but it wasn't very useful since we hadn't opensourced Jest yet.

The code is now a little stale and dated, but it basically just shells out to the bin/jest.js script included with Jest. Turned out no more than a ~30lines:

https://github.com/jeffmo/react/commit/7a72cbba0eb57844f4e22...

Re:Jest – Painless JavaScript Testing by andwaal on Wednesday May 14, 2014 @06:30PM (#7746845)
Rule number one of Grunt: "If you can npm it, you soon will be able to Grunt it(or Gulp it for that matter)"