We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f741f2c + 5a08b1e commit a14dc8bCopy full SHA for a14dc8b
packages/react-router/__tests__/server-runtime/handle-error-test.ts
@@ -1,7 +1,10 @@
1
import { createRequestHandler } from "../../lib/server-runtime/server";
2
import { ErrorResponseImpl } from "../../lib/router/utils";
3
import { mockServerBuild } from "./utils";
4
-import type { HandleDocumentRequestFunction } from "../../lib/server-runtime/build";
+import type {
5
+ HandleDocumentRequestFunction,
6
+ ServerBuild,
7
+} from "../../lib/server-runtime/build";
8
9
function getHandler(
10
routeModule = {},
@@ -180,6 +183,10 @@ describe("handleError", () => {
180
183
},
181
184
182
185
186
+ routeDiscovery: {
187
+ mode: "lazy",
188
+ manifestPath: "/__manifest",
189
+ },
190
future: {
191
// Fill in the required values
192
unstable_middleware: false,
0 commit comments