Skip to content

Commit a64020a

Browse files
committed
chore: Add nuqs to RRv7 e2e test bench
1 parent 5db4d54 commit a64020a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/e2e/react-router/v7/app/root.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { NuqsAdapter } from 'nuqs/adapters/react-router/v7'
12
import {
23
isRouteErrorResponse,
34
Links,
@@ -28,7 +29,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
2829
}
2930

3031
export default function App() {
31-
return <Outlet />
32+
return (
33+
<NuqsAdapter>
34+
<Outlet />
35+
</NuqsAdapter>
36+
)
3237
}
3338

3439
export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {

packages/e2e/react-router/v7/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@react-router/node": "^7.0.2",
1313
"@react-router/serve": "^7.0.2",
1414
"isbot": "^5.1.17",
15+
"nuqs": "workspace:*",
1516
"react": "catalog:react19",
1617
"react-dom": "catalog:react19",
1718
"react-router": "^7.0.2"

pnpm-lock.yaml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)