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

chore(router): Fix type errors in our routes tests #11059

Merged
merged 6 commits into from
Jul 23, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jul 23, 2024

Fixed some type errors in our router tests

  • Missing @testing-library types
  • Missing .js extensions on imports
  • Wrong type for location (This was updated in an older PR, but we forgot to update the tests)

There is still one error left (that shows up in a few different tests). But this is a legit bug in our (public) types, so didn't want to include that in this PR.

Someone should create a separate PR and then we can discuss if we want to mark it breaking or as a fix.

@Tobbe Tobbe added the release:chore This PR is a chore (means nothing for users) label Jul 23, 2024
@Tobbe Tobbe added this to the chore milestone Jul 23, 2024
Copy link
Member Author

Tobbe commented Jul 23, 2024

🏷️ Labeled release:chore

@Tobbe Tobbe changed the title chore(router): Fix type errors in the link tests chore(router): Fix type errors in our routes tests Jul 23, 2024
@Tobbe Tobbe merged commit a3924b6 into redwoodjs:main Jul 23, 2024
46 checks passed
@Tobbe Tobbe deleted the tobbe-router-test-types branch July 23, 2024 08:23
@Josh-Walker-GM Josh-Walker-GM modified the milestones: chore, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants