Skip to content

Commit

Permalink
Update packages/expo-router/src/__tests__/platform-routes.test.web.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Bacon <bacon@expo.io>
  • Loading branch information
marklawlor and EvanBacon committed Mar 6, 2024
1 parent f3f7322 commit 14aa992
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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"."`
);
});
});

0 comments on commit 14aa992

Please sign in to comment.