From 802ad3feb30ba17f07d22789f593f0aad77475ab Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Wed, 1 Jul 2015 16:44:30 -0700 Subject: [PATCH] [react-packager] fix test --- react-packager/src/JSTransformer/__tests__/Cache-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/JSTransformer/__tests__/Cache-test.js b/react-packager/src/JSTransformer/__tests__/Cache-test.js index df3ccfd7..3877b3dd 100644 --- a/react-packager/src/JSTransformer/__tests__/Cache-test.js +++ b/react-packager/src/JSTransformer/__tests__/Cache-test.js @@ -229,7 +229,7 @@ describe('JSTransformer Cache', function() { return Promise.resolve('baz value'); }); - jest.runAllImmediates(); + jest.runAllTicks(); expect(fs.writeFile).toBeCalled(); }); });