From 14aa9922ce96a6cd0505a031a963a1d136c951fc Mon Sep 17 00:00:00 2001 From: Mark Lawlor Date: Wed, 6 Mar 2024 11:46:29 +1000 Subject: [PATCH] Update packages/expo-router/src/__tests__/platform-routes.test.web.ts Co-authored-by: Evan Bacon --- packages/expo-router/src/__tests__/platform-routes.test.web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/expo-router/src/__tests__/platform-routes.test.web.ts b/packages/expo-router/src/__tests__/platform-routes.test.web.ts index b684aa2c1d79d..0d8c1ea1a2a4a 100644 --- a/packages/expo-router/src/__tests__/platform-routes.test.web.ts +++ b/packages/expo-router/src/__tests__/platform-routes.test.web.ts @@ -163,7 +163,7 @@ describe(`will throw if a route does not have a platform fallback`, () => { { internal_stripLoadRoute: true, platform: Platform.OS, skipGenerated: true } ); }).toThrowErrorMatchingInlineSnapshot( - `"The file ./folder/page.web.tsx does not have a fallback sibling file without a platform extension."` + `"Platform-specific route "./folder/page.web.tsx" is missing the required fallback route "./folder/page.tsx"."` ); }); });