From 6501f74652821f89fb2cf1698ced4e092adf14a0 Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Wed, 27 Jul 2016 22:02:42 -0700 Subject: [PATCH] Update to 14.0 Reviewed By: kassens Differential Revision: D3627753 fbshipit-source-id: 35b8246c8cb61e60908d8c233a6e72063bf67096 --- react-packager/src/Bundler/__tests__/Bundler-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-packager/src/Bundler/__tests__/Bundler-test.js b/react-packager/src/Bundler/__tests__/Bundler-test.js index 33cca054..eef2dab5 100644 --- a/react-packager/src/Bundler/__tests__/Bundler-test.js +++ b/react-packager/src/Bundler/__tests__/Bundler-test.js @@ -174,7 +174,7 @@ describe('Bundler', function() { {runMainModule: true, runBeforeMainModule: []} ]); - expect(bundle.addAsset.mock.calls).toContain([{ + expect(bundle.addAsset.mock.calls[0]).toEqual([{ __packager_asset: true, path: '/root/img/img.png', uri: 'img', @@ -183,7 +183,7 @@ describe('Bundler', function() { deprecated: true, }]); - expect(bundle.addAsset.mock.calls).toContain([{ + expect(bundle.addAsset.mock.calls[1]).toEqual([{ __packager_asset: true, fileSystemLocation: '/root/img', httpServerLocation: '/assets/img',