Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[router]: change Href to not be generic / use expo-router package for tests #27690

Merged
merged 7 commits into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/sandbox/package.json
Expand Up @@ -11,7 +11,7 @@
"expo": "~51.0.0-unreleased",
"expo-router": "^3.0.0",
"react": "18.2.0",
"react-native": "0.74.0-rc.3"
"react-native": "0.74.0-rc.4"
},
"devDependencies": {
"babel-preset-expo": "~10.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/@expo/cli/CHANGELOG.md
Expand Up @@ -25,6 +25,7 @@
- Prevent run commands from hanging when the process completes. ([#26960](https://github.com/expo/expo/pull/26960) by [@EvanBacon](https://github.com/EvanBacon))
- Keep typed routes in-sync with current Expo Router version ([#26578](https://github.com/expo/expo/pull/26578) by [@marklawlor](https://github.com/marklawlor))
- Fix development codesigning certificate validity checks. ([#27361](https://github.com/expo/expo/pull/27361) by [@wschurman](https://github.com/wschurman))
- Included groups in Expo Router typed routes generation ([#27690](https://github.com/expo/expo/pull/27690) by [@marklawlor](https://github.com/marklawlor))

### 💡 Others

Expand Down
8 changes: 8 additions & 0 deletions packages/@expo/cli/jest.config.js
Expand Up @@ -14,5 +14,13 @@ module.exports = {
setupFiles: ['<rootDir>/e2e/setup.ts'],
clearMocks: true,
},
{
displayName: require('./package').name + '-types',
runner: 'jest-runner-tsd',
testRegex: '/__typetests__/.*(test|spec)\\.[jt]sx?$',
rootDir: path.resolve(__dirname),
roots,
globalSetup: '<rootDir>/src/start/server/type-generation/__typetests__/generateFixtures.ts',
},
],
};