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"."` ); }); });