[react-packager] fix test
This commit is contained in:
parent
5aa27586f0
commit
b45e2ed7ed
|
@ -229,7 +229,7 @@ describe('JSTransformer Cache', function() {
|
||||||
return Promise.resolve('baz value');
|
return Promise.resolve('baz value');
|
||||||
});
|
});
|
||||||
|
|
||||||
jest.runAllImmediates();
|
jest.runAllTicks();
|
||||||
expect(fs.writeFile).toBeCalled();
|
expect(fs.writeFile).toBeCalled();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue