0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/node/test
Nate Moore 298dbb89f2
Refactor 404 and 500 approach (#7754)
* fix(app): refactor 404 and 500 approach

* chore: refactor logic

* fix: always treat error as page

* test: migrate ssr-prerender-404 to node adapter

* feat: merge original response metadata with error response

* chore: update lockfile

* chore: trigger ci

* chore(lint): fix lint issue

* fix: ensure merged request has proper status

* fix(node): prerender test

* chore: update test label

* fix(node): improve 404 behavior in middleware mode

* fix(vercel): improve 404 behavior

* fix(netlify): improve 404 behavior

* chore: update test labels

* chore: force ci

* chore: fix lint

* fix: avoid infinite loops

* test: fix failing test in Node 18

* chore: remove volta
2023-08-01 09:52:16 -05:00
..
fixtures Refactor 404 and 500 approach (#7754) 2023-08-01 09:52:16 -05:00
api-route.test.js [ci] format 2023-01-10 17:01:27 +00:00
bad-urls.test.js fix(node): Fix malformed URLs crashing the server in certain cases (#6746) 2023-04-04 15:48:28 +02:00
createOutgoingHttpHeaders.test.js [ci] format 2023-06-06 15:11:47 +00:00
encoded.test.js [ci] format 2023-01-12 15:46:47 +00:00
errors.test.js Catch errors that occur within the stream in the Node adapter (#6935) 2023-05-01 10:08:18 -04:00
headers.test.js.js [ci] format 2023-06-06 15:11:47 +00:00
image.test.js test: add test in the Node adapter for astro:assets (#7734) 2023-07-26 23:58:47 +02:00
locals.test.js feat: expose locals to render api and from requests in dev mode (#7385) 2023-06-21 13:07:16 +01:00
node-middleware.test.js Refactor 404 and 500 approach (#7754) 2023-08-01 09:52:16 -05:00
prerender-404.test.js Refactor 404 and 500 approach (#7754) 2023-08-01 09:52:16 -05:00
prerender.test.js fix: correctly handle prerender pages in split mode (#7509) 2023-06-28 13:06:16 +01:00
test-utils.js nit: use node: prefix everywhere (#7692) 2023-07-18 02:17:59 +02:00
url-protocol.test.js nit: use node: prefix everywhere (#7692) 2023-07-18 02:17:59 +02:00
well-known-locations.test.js Add support for serving well-known URIs with the @astrojs/node SSR adapter (#5832) 2023-01-11 17:52:51 +08:00