Commit d883423
test: add v3_relativeSplatPath future flag in Remix test utils (#223)
* test: silence react-router future warnings in vitest
* fix: use v3_relativeSplatPath instead of invalid v7_ future flags
The FutureConfig type in @remix-run/react only has v3_ prefix flags:
- v3_fetcherPersist
- v3_relativeSplatPath
- v3_lazyRouteDiscovery
- v3_singleFetch
Remove invalid v7_startTransition (no v3 equivalent for this flag)
and correct v7_relativeSplatPath → v3_relativeSplatPath.
Fixes TypeScript type check failure in CI.
* test: remove redundant React Router warning suppression
Amp-Thread-ID: https://ampcode.com/threads/T-019c7d08-04f2-743c-9527-500a06f0ea9f
Co-authored-by: Amp <amp@ampcode.com>
---------
Co-authored-by: Wheeljack <wheeljack@zavi.family>
Co-authored-by: Amp <amp@ampcode.com>1 parent 2bfbac9 commit d883423
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments