Skip to content

Commit a14dc8b

Browse files
committed
Merge branch 'dev' into markdalgleish/routes-mode
2 parents f741f2c + 5a08b1e commit a14dc8b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/react-router/__tests__/server-runtime/handle-error-test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { createRequestHandler } from "../../lib/server-runtime/server";
22
import { ErrorResponseImpl } from "../../lib/router/utils";
33
import { mockServerBuild } from "./utils";
4-
import type { HandleDocumentRequestFunction } from "../../lib/server-runtime/build";
4+
import type {
5+
HandleDocumentRequestFunction,
6+
ServerBuild,
7+
} from "../../lib/server-runtime/build";
58

69
function getHandler(
710
routeModule = {},
@@ -180,6 +183,10 @@ describe("handleError", () => {
180183
},
181184
},
182185
},
186+
routeDiscovery: {
187+
mode: "lazy",
188+
manifestPath: "/__manifest",
189+
},
183190
future: {
184191
// Fill in the required values
185192
unstable_middleware: false,

0 commit comments

Comments
 (0)