Skip to content

Instantly share code, notes, and snippets.

@xMohamd
Created February 2, 2024 00:53
Show Gist options
  • Save xMohamd/79c74848ed396f713185e027a8d7fdf9 to your computer and use it in GitHub Desktop.
Save xMohamd/79c74848ed396f713185e027a8d7fdf9 to your computer and use it in GitHub Desktop.
test2 output
> @astrojs/node@8.2.0 test /workspaces/astro/packages/integrations/node
> astro-scripts test --timeout 400000 "test/**/*.test.js"
▶ API routes
✔ Can get the request body (143.290911ms)
✔ Can get binary data (17.459249ms)
✔ Can post large binary data (1733.319124ms)
✔ Can bail on streaming (506.951931ms)
▶ API routes (7304.358251ms)
▶ Assets
✔ Assets within the _astro folder should be given immutable headers (165.515012ms)
▶ Assets (3242.056885ms)
[astro test] failed to fetch http://localhost:4321/\xfs.bxss.me%3Fastrojs.com/hello-world
TypeError: fetch failed
at node:internal/deps/undici/undici:12344:11
at async Object.fetch (file:///workspaces/astro/packages/astro/test/test-utils.js:173:12)
at async TestContext.<anonymous> (file:///workspaces/astro/packages/integrations/node/test/bad-urls.test.js:38:24)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:948:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
cause: HeadersTimeoutError: Headers Timeout Error
at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:8851:32)
at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:6893:17)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
code: 'UND_ERR_HEADERS_TIMEOUT'
}
}
▶ Bad URLs
✖ Does not crash on bad urls (301358.623721ms)
TypeError [Error]: fetch failed
at node:internal/deps/undici/undici:12344:11
at async Object.fetch (file:///workspaces/astro/packages/astro/test/test-utils.js:173:12)
at async TestContext.<anonymous> (file:///workspaces/astro/packages/integrations/node/test/bad-urls.test.js:38:24)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:948:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
cause: Error [HeadersTimeoutError]: Headers Timeout Error
at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:8851:32)
at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:6893:17)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
code: 'UND_ERR_HEADERS_TIMEOUT'
}
}
▶ Bad URLs (304056.521871ms)
▶ Encoded Pathname
✔ Can get an Astro file (58.423911ms)
✔ Can get a Markdown file (24.95504ms)
▶ Encoded Pathname (5364.268389ms)
There was an uncaught error in the middle of the stream while rendering /in-stream. Error in the stream
▶ Errors
✔ rejected promise in template (106.676587ms)
✖ generator that throws called in template (57.392878ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<!DOCTYPE html><h1>Astro</h1> 1'
- '<!DOCTYPE html><h1>Astro</h1> 1Internal server error'
at expect (file:///workspaces/astro/packages/integrations/node/test/errors.test.js:42:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (file:///workspaces/astro/packages/integrations/node/test/errors.test.js:44:3)
at async Test.run (node:internal/test_runner/test:632:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '<!DOCTYPE html><h1>Astro</h1> 1',
expected: '<!DOCTYPE html><h1>Astro</h1> 1Internal server error',
operator: 'strictEqual'
}
▶ Errors (2371.844282ms)
▶ Node Adapter Headers
✔ Endpoint Simple Headers (95.308588ms)
✔ Endpoint Astro Single Cookie Header (3.413251ms)
✔ Endpoint Astro Multi Cookie Header (9.69175ms)
✔ Endpoint Response Single Cookie Header (2.798424ms)
✔ Endpoint Response Multi Cookie Header (8.38446ms)
✔ Endpoint Complex Headers Kitchen Sink (3.116928ms)
✔ Endpoint Astro and Response Single Cookie Header (8.502821ms)
✔ Endpoint Astro and Response Multi Cookie Header (2.782214ms)
✔ Endpoint Response Empty Headers Object (5.670765ms)
✔ Endpoint Response undefined Headers Object (7.83261ms)
✔ Component Astro Single Cookie Header (5.10543ms)
✔ Component Astro Multi Cookie Header (18.850625ms)
✔ Component Response Single Cookie Header (15.359288ms)
✔ Component Response Multi Cookie Header (3.47686ms)
✔ Component Astro and Response Single Cookie Header (5.097675ms)
✔ Component Astro and Response Multi Cookie Header (16.315503ms)
▶ Node Adapter Headers (3020.76293ms)
﹣ Image endpoint (0.077274ms) # SKIP
24:43:57 [ERROR] LocalsNotAnObject: `locals` can only be assigned to an object. Other values like numbers, strings, etc. are not accepted.
at get locals [as locals] (file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/entry.mjs:1180:15)
at file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:32:46
at applyHandle (file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:16:22)
at file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:13:12
at applyHandle (file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:16:22)
at file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:18:18
at file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/entry.mjs:1236:25
at applyHandle (file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:16:22)
at file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/chunks/_astro-internal_middleware_BGUeLRtf.mjs:13:12
at callMiddleware (file:///workspaces/astro/packages/integrations/node/test/fixtures/locals/dist/server/entry.mjs:506:27)
▶ API routes
✔ Can use locals added by node middleware (56.970608ms)
✖ Throws an error when provided non-objects as locals (11.688567ms)
'Promise resolution is still pending but the event loop has already resolved'
✖ Can use locals added by astro middleware
'Promise resolution is still pending but the event loop has already resolved'
✖ Can access locals in API
'Promise resolution is still pending but the event loop has already resolved'
▶ API routes (2542.128847ms)
'Promise resolution is still pending but the event loop has already resolved'
▶ behavior from middleware, standalone
▶ 404
✖ when mode is standalone
'Promise resolution is still pending but the event loop has already resolved'
▶ 404
'Promise resolution is still pending but the event loop has already resolved'
▶ behavior from middleware, standalone
'Promise resolution is still pending but the event loop has already resolved'
▶ behavior from middleware, middleware
✖ when mode is standalone
'Promise resolution is still pending but the event loop has already resolved'
▶ behavior from middleware, middleware
'Promise resolution is still pending but the event loop has already resolved'
▶ Prerender 404
▶ With base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
✖ Can handle prerendered 500 called indirectly
'Promise resolution is still pending but the event loop has already resolved'
✖ prerendered 500 page includes expected styles
'Promise resolution is still pending but the event loop has already resolved'
▶ With base
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
'Promise resolution is still pending but the event loop has already resolved'
▶ Prerender 404
'Promise resolution is still pending but the event loop has already resolved'
▶ Hybrid 404
▶ With base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
▶ With base
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
'Promise resolution is still pending but the event loop has already resolved'
▶ Hybrid 404
'Promise resolution is still pending but the event loop has already resolved'
▶ Prerendering
▶ With base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route without trailing slash
'Promise resolution is still pending but the event loop has already resolved'
▶ With base
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
'Promise resolution is still pending but the event loop has already resolved'
▶ Dev
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
▶ Dev
'Promise resolution is still pending but the event loop has already resolved'
▶ Prerendering
'Promise resolution is still pending but the event loop has already resolved'
▶ Hybrid rendering
▶ With base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route without trailing slash
'Promise resolution is still pending but the event loop has already resolved'
▶ With base
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
▶ Without base
'Promise resolution is still pending but the event loop has already resolved'
▶ Shared modules
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
▶ Shared modules
'Promise resolution is still pending but the event loop has already resolved'
▶ Hybrid rendering
'Promise resolution is still pending but the event loop has already resolved'
▶ URL protocol
✖ return http when non-secure
'Promise resolution is still pending but the event loop has already resolved'
✖ return https when secure
'Promise resolution is still pending but the event loop has already resolved'
✖ return http when the X-Forwarded-Proto header is set to http
'Promise resolution is still pending but the event loop has already resolved'
✖ return https when the X-Forwarded-Proto header is set to https
'Promise resolution is still pending but the event loop has already resolved'
▶ URL protocol
'Promise resolution is still pending but the event loop has already resolved'
▶ test URIs beginning with a dot
▶ can load well-known URIs
✖ can load a valid well-known URI
'Promise resolution is still pending but the event loop has already resolved'
✖ cannot load a dot folder that is not a well-known URI
'Promise resolution is still pending but the event loop has already resolved'
▶ can load well-known URIs
'Promise resolution is still pending but the event loop has already resolved'
▶ test URIs beginning with a dot
'Promise resolution is still pending but the event loop has already resolved'
ℹ tests 69
ℹ suites 28
ℹ pass 25
ℹ fail 2
ℹ cancelled 42
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 332313.545497
✖ failing tests:
test at file:/workspaces/astro/packages/integrations/node/test/bad-urls.test.js:25:2
✖ Does not crash on bad urls (301358.623721ms)
TypeError [Error]: fetch failed
at node:internal/deps/undici/undici:12344:11
at async Object.fetch (file:///workspaces/astro/packages/astro/test/test-utils.js:173:12)
at async TestContext.<anonymous> (file:///workspaces/astro/packages/integrations/node/test/bad-urls.test.js:38:24)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:948:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
cause: Error [HeadersTimeoutError]: Headers Timeout Error
at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:8851:32)
at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:6893:17)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
code: 'UND_ERR_HEADERS_TIMEOUT'
}
}
test at file:/workspaces/astro/packages/integrations/node/test/errors.test.js:34:2
✖ generator that throws called in template (57.392878ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '<!DOCTYPE html><h1>Astro</h1> 1'
- '<!DOCTYPE html><h1>Astro</h1> 1Internal server error'
at expect (file:///workspaces/astro/packages/integrations/node/test/errors.test.js:42:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (file:///workspaces/astro/packages/integrations/node/test/errors.test.js:44:3)
at async Test.run (node:internal/test_runner/test:632:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '<!DOCTYPE html><h1>Astro</h1> 1',
expected: '<!DOCTYPE html><h1>Astro</h1> 1Internal server error',
operator: 'strictEqual'
}
test at file:/workspaces/astro/packages/integrations/node/test/locals.test.js:35:2
✖ Throws an error when provided non-objects as locals (11.688567ms)
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/locals.test.js:48:2
✖ Can use locals added by astro middleware
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/locals.test.js:63:2
✖ Can access locals in API
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/locals.test.js:6:1
✖ API routes (2542.128847ms)
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/node-middleware.test.js:45:3
✖ when mode is standalone
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/node-middleware.test.js:44:2
✖ 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/node-middleware.test.js:19:1
✖ behavior from middleware, standalone
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/node-middleware.test.js:84:2
✖ when mode is standalone
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/node-middleware.test.js:59:1
✖ behavior from middleware, middleware
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:50:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:59:3
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:81:3
✖ Can handle prerendered 500 called indirectly
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:99:3
✖ prerendered 500 page includes expected styles
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:23:2
✖ With base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:135:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:144:3
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:109:2
✖ Without base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:18:1
✖ Prerender 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:199:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:208:3
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:173:2
✖ With base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:256:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:265:3
✖ Can handle prerendered 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:231:2
✖ Without base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender-404-500.test.js:168:1
✖ Hybrid 404
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:43:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:52:3
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:61:3
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:70:3
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:79:3
✖ Can render prerendered route without trailing slash
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:20:2
✖ With base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:113:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:122:3
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:131:3
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:140:3
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:91:2
✖ Without base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:169:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:178:3
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:150:2
✖ Dev
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:15:1
✖ Prerendering
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:216:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:224:3
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:233:3
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:242:3
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:251:3
✖ Can render prerendered route without trailing slash
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:194:2
✖ With base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:282:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:291:3
✖ Can render prerendered route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:300:3
✖ Can render prerendered route with redirect and query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:309:3
✖ Can render prerendered route with query params
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:261:2
✖ Without base
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:340:3
✖ Can render SSR route
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:319:2
✖ Shared modules
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/prerender.test.js:189:1
✖ Hybrid rendering
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/url-protocol.test.js:20:2
✖ return http when non-secure
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/url-protocol.test.js:33:2
✖ return https when secure
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/url-protocol.test.js:47:2
✖ return http when the X-Forwarded-Proto header is set to http
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/url-protocol.test.js:61:2
✖ return https when the X-Forwarded-Proto header is set to https
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/url-protocol.test.js:7:1
✖ URL protocol
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/well-known-locations.test.js:30:3
✖ can load a valid well-known URI
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/well-known-locations.test.js:40:3
✖ cannot load a dot folder that is not a well-known URI
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/well-known-locations.test.js:19:2
✖ can load well-known URIs
'Promise resolution is still pending but the event loop has already resolved'
test at file:/workspaces/astro/packages/integrations/node/test/well-known-locations.test.js:6:1
✖ test URIs beginning with a dot
'Promise resolution is still pending but the event loop has already resolved'
 ELIFECYCLE  Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment