Update tests

This commit is contained in:
2026-03-21 10:14:38 +01:00
parent cf010ad4f5
commit d2ddaef0d4
26 changed files with 798 additions and 101 deletions
@@ -47,6 +47,11 @@ export default async function grabPageErrorComponent({
routeParams,
module,
bundledMap,
serverRes: {
responseOptions: {
status: is404 ? 404 : 500
}
} as any
};
} catch {
const DefaultNotFound: FC = () => (
@@ -70,6 +75,11 @@ export default async function grabPageErrorComponent({
routeParams,
module: { default: DefaultNotFound },
bundledMap: {} as BundlerCTXMap,
serverRes: {
responseOptions: {
status: is404 ? 404 : 500
}
} as any
};
}
}