mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[react-packager] check-in node_modules and update tests
This commit is contained in:
@@ -6,6 +6,7 @@ jest
|
||||
.dontMock('q')
|
||||
.dontMock('os')
|
||||
.dontMock('underscore')
|
||||
.setMock('uglify-js')
|
||||
.dontMock('../');
|
||||
|
||||
var q = require('q');
|
||||
|
||||
@@ -10,6 +10,7 @@ jest.setMock('worker-farm', function() { return function() {}; })
|
||||
return setTimeout(fn, 0);
|
||||
}
|
||||
})
|
||||
.setMock('uglify-js')
|
||||
.dontMock('../');
|
||||
|
||||
var q = require('q');
|
||||
|
||||
Reference in New Issue
Block a user