mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 17:21:11 +08:00
[react-packager] fix test
This commit is contained in:
@@ -229,7 +229,7 @@ describe('JSTransformer Cache', function() {
|
||||
return Promise.resolve('baz value');
|
||||
});
|
||||
|
||||
jest.runAllImmediates();
|
||||
jest.runAllTicks();
|
||||
expect(fs.writeFile).toBeCalled();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user