mirror of https://github.com/status-im/metro.git
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:
parent
a558c4b59d
commit
b2a11aff51
|
@ -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) })
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
jest.setMock('worker-farm', function() { return () => {}; })
|
||||
.setMock('uglify-js')
|
||||
.mock('child_process')
|
||||
.dontMock('underscore')
|
||||
.dontMock('../');
|
||||
|
||||
var SocketInterface = require('../');
|
||||
|
|
Loading…
Reference in New Issue