summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2023-05-01 16:37:07 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-01 10:37:07 -0400
commita98df9374dec65c678fa47319cb1481b1af123e2 (patch)
tree104aa54faecb22789e96ea465d9f0ed4790ac233 /packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts
parentd6b153bcac489d47ebc9cadaa2bc2a63a08446a7 (diff)
downloadastro-a98df9374dec65c678fa47319cb1481b1af123e2.tar.gz
astro-a98df9374dec65c678fa47319cb1481b1af123e2.tar.zst
astro-a98df9374dec65c678fa47319cb1481b1af123e2.zip
Show injected custom 404 route in dev (#6940)
* Add unit test for injected 404 routes * Add fixture test for injected 404 routes * Use any route pattern to find custom 404 * Fix frozen lockfile error * Use `route` instead of `pattern` to match custom 404 Dynamic catch-all routes can match against `/404/` but will then error because they’re not actually designed to handle a param of `'404'`. Testing `route` instead excludes dynamic routes (because they’ll contain dynamic segments inside square brackets). Not sure if someone might _want_ to render the 404 via a dynamic route, but we already don’t support that, so this doesn’t change anything. * Fix injected 404 fixture * Add tests for `src/pages/404.html` * Add changeset * Fix lockfile * And again
Diffstat (limited to 'packages/integrations/netlify/test/edge-functions/root-dynamic.test.ts')
0 files changed, 0 insertions, 0 deletions