mirror of https://github.com/status-im/metro.git
Update to 14.0
Reviewed By: kassens Differential Revision: D3627753 fbshipit-source-id: 35b8246c8cb61e60908d8c233a6e72063bf67096
This commit is contained in:
parent
e0f6dfdadf
commit
6501f74652
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue