Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Oct 2, 2023
1 parent 1168e9d commit 9033e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/router/__tests__/router-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,13 @@ function setup({
// active navigation loader/action
function enhanceRoutes(_routes: TestRouteObject[]) {
return _routes.map((r) => {
let enhancedRoute: AgnosticRouteObject = {
let enhancedRoute: AgnosticDataRouteObject = {
...r,
lazy: undefined,
loader: undefined,
action: undefined,
children: undefined,
id: r.id || "unknown-route-id",
id: r.id || `route-${guid++}`,
};
if (r.lazy) {
// @ts-expect-error
Expand Down

0 comments on commit 9033e73

Please sign in to comment.