mirror of https://github.com/status-im/metro.git
Revert internal files that didn't get pulled internally first
See all the packager files in this commit:
f83675d191 (diff-7b5603771e245e5b0cd7223277db3db4)
cc @foghina
This commit is contained in:
parent
676c1c3a45
commit
87d4d3c55c
|
@ -9,9 +9,6 @@
|
|||
'use strict';
|
||||
|
||||
jest.autoMockOff();
|
||||
jest.setMock('chalk', {
|
||||
dim: function(s) { return s; },
|
||||
});
|
||||
|
||||
describe('Activity', () => {
|
||||
const origConsoleLog = console.log;
|
||||
|
|
|
@ -23,8 +23,7 @@ jest
|
|||
.dontMock('../../AssetModule')
|
||||
.dontMock('../../Module')
|
||||
.dontMock('../../Package')
|
||||
.dontMock('../../ModuleCache')
|
||||
.setMock('chalk', { dim: function(s) { return s; } });
|
||||
.dontMock('../../ModuleCache');
|
||||
|
||||
const Promise = require('promise');
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@ jest.setMock('worker-farm', function() { return () => {}; })
|
|||
.dontMock('url')
|
||||
.setMock('timers', { setImmediate: (fn) => setTimeout(fn, 0) })
|
||||
.setMock('uglify-js')
|
||||
.dontMock('../')
|
||||
.setMock('chalk', { dim: function(s) { return s; } });
|
||||
.dontMock('../');
|
||||
|
||||
const Promise = require('promise');
|
||||
|
||||
|
|
Loading…
Reference in New Issue