Commit 2bf6d06
Enable React Router v7 future flags to silence warnings in tests
Added future flags to BrowserRouter in the dummy app to enable v7-compatible
behavior and eliminate console warnings that were causing test failures.
Changes:
- spec/dummy/client/app/startup/RouterApp.client.jsx: Added future prop with
v7_startTransition and v7_relativeSplatPath flags
Why this fixes the issue:
The dummy app integration tests were failing because selenium_logger.rb treats
JavaScript console warnings as errors. React Router v6 emits warnings about
upcoming v7 changes:
1 parent 37f9368 commit 2bf6d06
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments