Update to 14.0

Reviewed By: kassens

Differential Revision: D3627753

fbshipit-source-id: 35b8246c8cb61e60908d8c233a6e72063bf67096
This commit is contained in:
Christoph Pojer 2016-07-27 22:02:42 -07:00 committed by Facebook Github Bot 7
parent e0f6dfdadf
commit 6501f74652
1 changed files with 2 additions and 2 deletions

View File

@ -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',