From 9e05f006156cb74f206ece8c5b6840f89a2bca35 Mon Sep 17 00:00:00 2001 From: Ville Immonen Date: Tue, 28 Apr 2020 16:09:29 +0300 Subject: [PATCH] Update test --- packages/metro-config/src/__tests__/ExpoMetroConfig-test.ts | 2 +- .../src/__tests__/__snapshots__/ExpoMetroConfig-test.ts.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/metro-config/src/__tests__/ExpoMetroConfig-test.ts b/packages/metro-config/src/__tests__/ExpoMetroConfig-test.ts index c624db6d7b..1852278f90 100644 --- a/packages/metro-config/src/__tests__/ExpoMetroConfig-test.ts +++ b/packages/metro-config/src/__tests__/ExpoMetroConfig-test.ts @@ -9,7 +9,7 @@ describe('getDefaultConfig', () => { transformer: { assetPlugins: expect.arrayContaining([expect.stringContaining('hashAssetFiles')]), assetRegistryPath: expect.stringContaining('AssetRegistry'), - babelTransformerPath: expect.stringContaining('transformer.js'), + babelTransformerPath: expect.stringContaining('metro-react-native-babel-transformer'), }, }; diff --git a/packages/metro-config/src/__tests__/__snapshots__/ExpoMetroConfig-test.ts.snap b/packages/metro-config/src/__tests__/__snapshots__/ExpoMetroConfig-test.ts.snap index c29b8a92b4..7b9cea1150 100644 --- a/packages/metro-config/src/__tests__/__snapshots__/ExpoMetroConfig-test.ts.snap +++ b/packages/metro-config/src/__tests__/__snapshots__/ExpoMetroConfig-test.ts.snap @@ -47,7 +47,7 @@ Object { StringContaining "hashAssetFiles", ], "assetRegistryPath": StringContaining "AssetRegistry", - "babelTransformerPath": StringContaining "transformer.js", + "babelTransformerPath": StringContaining "metro-react-native-babel-transformer", }, } `; @@ -86,7 +86,7 @@ Object { StringContaining "hashAssetFiles", ], "assetRegistryPath": StringContaining "AssetRegistry", - "babelTransformerPath": StringContaining "transformer.js", + "babelTransformerPath": StringContaining "metro-react-native-babel-transformer", }, } `;