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

[Bug]: [email protected] feature warnings break tests with vitest-fail-on-console enabled #12259

Closed
artaommahe opened this issue Nov 11, 2024 · 2 comments
Labels

Comments

@artaommahe
Copy link

What version of React Router are you using?

6.28

Steps to Reproduce

  • have a test with router usage for a component that triggers any feature warning
  • have vitest-fail-on-console (or similar) enabled
  • see the test failing

Expected Behavior

there is should be an easy way to disable those warnings for tests without manually updating all <MemoryRouter ... usages with the whole features list

Actual Behavior

you have to manually list all those features for each failing test

@artaommahe artaommahe added the bug label Nov 11, 2024
@timdorr
Copy link
Member

timdorr commented Nov 11, 2024

Duplicate of #12250

@timdorr timdorr marked this as a duplicate of #12250 Nov 11, 2024
@timdorr timdorr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@timdorr
Copy link
Member

timdorr commented Nov 11, 2024

Sorry, I know it's not an exact duplicate of that issue, but I'd like to keep the warnings issues limited to one so we can track when they are removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants