Skip to content

Commit

Permalink
Update packages/expo-router/src/__tests__/getRoutes.test.ios.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 25, 2024
1 parent dedd218 commit 077f3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/expo-router/src/__tests__/getRoutes.test.ios.ts
Expand Up @@ -784,7 +784,7 @@ it('ignores API routes with platform extensions', () => {
}
);
}).toThrowErrorMatchingInlineSnapshot(
`"Api routes cannot have platform extensions. Please remove '.web' from './folder/two+api.web.tsx'"`
`"API routes do not support platform extensions. Remove '.web' from './folder/two+api.web.tsx'"`
);
});

Expand Down

0 comments on commit 077f3a1

Please sign in to comment.