mirror of https://github.com/status-im/metro.git
[react-packager] check-in node_modules and update tests
This commit is contained in:
parent
c289844144
commit
37cab152b5
|
@ -6,6 +6,7 @@ jest
|
||||||
.dontMock('q')
|
.dontMock('q')
|
||||||
.dontMock('os')
|
.dontMock('os')
|
||||||
.dontMock('underscore')
|
.dontMock('underscore')
|
||||||
|
.setMock('uglify-js')
|
||||||
.dontMock('../');
|
.dontMock('../');
|
||||||
|
|
||||||
var q = require('q');
|
var q = require('q');
|
||||||
|
|
|
@ -10,6 +10,7 @@ jest.setMock('worker-farm', function() { return function() {}; })
|
||||||
return setTimeout(fn, 0);
|
return setTimeout(fn, 0);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.setMock('uglify-js')
|
||||||
.dontMock('../');
|
.dontMock('../');
|
||||||
|
|
||||||
var q = require('q');
|
var q = require('q');
|
||||||
|
|
Loading…
Reference in New Issue