Update + use node-haste2

Summary:This updates jest to 0.9 which will result in *much* faster startup time (1s vs. 10-15s) and better runtime overall (2-3x).

The route gen and cli integration tests are failing locally, but also on master. javache is this expected right now or is this related to my changes?

Reviewed By: javache

Differential Revision: D2943137

fb-gh-sync-id: 8b39ba5f51e30fbc5bacb84d67013ab0a4061f6e
shipit-source-id: 8b39ba5f51e30fbc5bacb84d67013ab0a4061f6e
This commit is contained in:
Christoph Pojer 2016-02-18 00:12:42 -08:00 committed by facebook-github-bot-4
parent a558c4b59d
commit b2a11aff51
3 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
jest.setMock('worker-farm', function() { return () => {}; })
.dontMock('os')
.dontMock('underscore')
.dontMock('path')
.dontMock('url')
.setMock('timers', { setImmediate: (fn) => setTimeout(fn, 0) })

View File

@ -11,6 +11,7 @@
jest.setMock('worker-farm', function() { return () => {}; })
.setMock('uglify-js')
.mock('child_process')
.dontMock('underscore')
.dontMock('../');
var SocketInterface = require('../');