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] fix typed routes sometimes having trailing slash #28707

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marklawlor
Copy link
Contributor

Why

Routes with grouped nested within non-group folders can have a typed route generated with a trailing slash

How

Ensure the slash is removed

Test Plan

Added test cases

Checklist

@marklawlor marklawlor requested a review from EvanBacon as a code owner May 9, 2024 09:28
@@ -81,21 +81,14 @@ it('allows spaces in the filename', () => {
});
});

it('expands groups', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is duplicate test

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label May 9, 2024
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants