packager: DependencyGraph-test: mock child_process
Reviewed By: cpojer Differential Revision: D4182064 fbshipit-source-id: e645e6d952e3aeaadaf35e29d6fcaf6395e590a7
This commit is contained in:
parent
c9e5a64940
commit
15baa16ada
|
@ -13,7 +13,10 @@ jest.useRealTimers();
|
|||
jest
|
||||
.mock('fs')
|
||||
.mock('../../Logger')
|
||||
.mock('../../lib/TransformCache');
|
||||
.mock('../../lib/TransformCache')
|
||||
// It's noticeably faster to prevent running watchman from FileWatcher.
|
||||
.mock('child_process', () => ({}))
|
||||
;
|
||||
|
||||
// This is an ugly hack:
|
||||
// * jest-haste-map uses `find` for fast file system crawling which won't work
|
||||
|
|
Loading…
Reference in New Issue