diff --git a/packages/expo-router/src/__tests__/getRoutes.test.ios.ts b/packages/expo-router/src/__tests__/getRoutes.test.ios.ts index 6596fc2af2077..fd92a8954d607 100644 --- a/packages/expo-router/src/__tests__/getRoutes.test.ios.ts +++ b/packages/expo-router/src/__tests__/getRoutes.test.ios.ts @@ -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'"` ); });