Skip to content
Source
Sign inSign up
TanStack/router

test: restructure transition e2e tests #5800

Mergedbirkskyum(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/5800/headmerged by birkskyum(GitHub profile, opens in a new tab)

Showing 14 changed files with 5 additions and 5 deletions (loading 7).

x
0 of 14 viewed, 14 left
2 additions and 2 deletionse2e/react-router/basic-react-query-file-based/src/routes/transition/index.tsxrenamed toe2e/react-router/basic-react-query-file-based/src/routes/transition/count/query.tsxRenamed
View file
@@ -17,7 +17,7 @@
placeholderData: (oldData) => oldData,
})
​
-export const Route = createFileRoute('/transition/')({
+export const Route = createFileRoute('/transition/count/query')({
validateSearch: searchSchema,
loader: ({ context: { queryClient }, location }) => {
const { n } = searchSchema.parse(location.search)
@@ -37,7 +37,7 @@
<Link
data-testid="increase-button"
className="border bg-gray-50 px-3 py-1"
- from="/transition"
+ from="/transition/count/query"
search={(s) => ({ n: s.n + 1 })}
Increase
e2e/react-router/basic-react-query-file-based/src/routeTree.gen.tsModified
View file