Skip to content

fix: memory store #15363

fix: memory store

fix: memory store #15363

Triggered via pull request November 15, 2024 13:23
@ronagronag
synchronize #3834
memory-store
Status Failure
Total duration 3m 47s
Artifacts

nodejs.yml

on: pull_request
Matrix: test-without-intl
Matrix: test
automerge
0s
automerge
Fit to window
Zoom out
Zoom in

Annotations

91 errors and 72 notices
Test TypeScript types
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:796:25) at Test.start (node:internal/test_runner/test:703:17) at node:internal/test_runner/test:1133:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677100316, deleteAt: 1731677120316, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677110316, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677100316, deleteAt: 1731677120316, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677110316, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677100316, staleAt: 1731677110316, deleteAt: 1731677120316, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677100316, staleAt: 1731677110316, deleteAt: 1731677120316, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677090321, deleteAt: 1731677120321, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677100320, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677090321, deleteAt: 1731677120321, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677100320, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677090321, staleAt: 1731677100320, deleteAt: 1731677120321, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677090321, staleAt: 1731677100320, deleteAt: 1731677120321, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677100325, deleteAt: 1731677120325, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677110325, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677100325, deleteAt: 1731677120325, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677110325, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677100325, staleAt: 1731677110325, deleteAt: 1731677120325, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677100325, staleAt: 1731677110325, deleteAt: 1731677120325, body: [Array] }, operator: 'deepStrictEqual' } }
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' }, code: 'ERR_TEST_FAILURE' }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108938, deleteAt: 1731677128938, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677118938, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108938, deleteAt: 1731677128938, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677118938, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677108938, staleAt: 1731677118938, deleteAt: 1731677128938, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677108938, staleAt: 1731677118938, deleteAt: 1731677128938, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677098944, deleteAt: 1731677128944, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677108943, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677098944, deleteAt: 1731677128944, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677108943, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677098944, staleAt: 1731677108943, deleteAt: 1731677128944, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677098944, staleAt: 1731677108943, deleteAt: 1731677128944, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108947, deleteAt: 1731677128947, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677118947, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108947, deleteAt: 1731677128947, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677118947, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677108947, staleAt: 1731677118947, deleteAt: 1731677128947, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677108947, staleAt: 1731677118947, deleteAt: 1731677128947, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677109291, deleteAt: 1731677129291, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677119291, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677109291, deleteAt: 1731677129291, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677119291, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677109291, staleAt: 1731677119291, deleteAt: 1731677129291, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677109291, staleAt: 1731677119291, deleteAt: 1731677129291, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677099296, deleteAt: 1731677129296, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677109295, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677099296, deleteAt: 1731677129296, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677109295, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677099296, staleAt: 1731677109295, deleteAt: 1731677129296, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677099296, staleAt: 1731677109295, deleteAt: 1731677129296, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677109299, deleteAt: 1731677129299, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677119299, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677109299, deleteAt: 1731677129299, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677119299, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677109299, staleAt: 1731677119299, deleteAt: 1731677129299, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677109299, staleAt: 1731677119299, deleteAt: 1731677129299, body: [Array] }, operator: 'deepStrictEqual' } }
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Test.start (node:internal/test_runner/test:550:17) at node:internal/test_runner/test:962:71 at node:internal/per_context/primordials:488:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:456:29) at node:internal/per_context/primordials:488:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677107415, deleteAt: 1731677127415, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677117415, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677107415, deleteAt: 1731677127415, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677117415, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677107415, staleAt: 1731677117415, deleteAt: 1731677127415, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677107415, staleAt: 1731677117415, deleteAt: 1731677127415, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677097421, deleteAt: 1731677127421, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677107420, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677097421, deleteAt: 1731677127421, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677107420, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677097421, staleAt: 1731677107420, deleteAt: 1731677127421, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677097421, staleAt: 1731677107420, deleteAt: 1731677127421, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677107425, deleteAt: 1731677127425, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677117425, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677107425, deleteAt: 1731677127425, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677117425, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677107425, staleAt: 1731677117425, deleteAt: 1731677127425, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677107425, staleAt: 1731677117425, deleteAt: 1731677127425, body: [Array] }, operator: 'deepStrictEqual' } }
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677118040, deleteAt: 1731677138040, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677128040, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677118040, deleteAt: 1731677138040, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677128040, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677118040, staleAt: 1731677128040, deleteAt: 1731677138040, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677118040, staleAt: 1731677128040, deleteAt: 1731677138040, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108046, deleteAt: 1731677138046, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677118045, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677108046, deleteAt: 1731677138046, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677118045, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677108046, staleAt: 1731677118045, deleteAt: 1731677138046, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677108046, staleAt: 1731677118045, deleteAt: 1731677138046, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677118048, deleteAt: 1731677138048, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677128048, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677118048, deleteAt: 1731677138048, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677128048, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677118048, staleAt: 1731677128048, deleteAt: 1731677138048, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677118048, staleAt: 1731677128048, deleteAt: 1731677138048, body: [Array] }, operator: 'deepStrictEqual' } }
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:796:25) at Test.start (node:internal/test_runner/test:703:17) at node:internal/test_runner/test:1133:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123017, deleteAt: 1731677143017, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677133017, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123017, deleteAt: 1731677143017, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677133017, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677123017, staleAt: 1731677133017, deleteAt: 1731677143017, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677123017, staleAt: 1731677133017, deleteAt: 1731677143017, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677113023, deleteAt: 1731677143023, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677123022, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677113023, deleteAt: 1731677143023, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677123022, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677113023, staleAt: 1731677123022, deleteAt: 1731677143023, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677113023, staleAt: 1731677123022, deleteAt: 1731677143023, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123024, deleteAt: 1731677143024, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677133024, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123024, deleteAt: 1731677143024, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677133024, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677123024, staleAt: 1731677133024, deleteAt: 1731677143024, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677123024, staleAt: 1731677133024, deleteAt: 1731677143024, body: [Array] }, operator: 'deepStrictEqual' } }
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Test.start (node:internal/test_runner/test:550:17) at node:internal/test_runner/test:962:71 at node:internal/per_context/primordials:488:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:456:29) at node:internal/per_context/primordials:488:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123759, deleteAt: 1731677143759, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677133759, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123759, deleteAt: 1731677143759, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677133759, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677123759, staleAt: 1731677133759, deleteAt: 1731677143759, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677123759, staleAt: 1731677133759, deleteAt: 1731677143759, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677113763, deleteAt: 1731677143763, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677123762, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677113763, deleteAt: 1731677143763, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677123762, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677113763, staleAt: 1731677123762, deleteAt: 1731677143763, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677113763, staleAt: 1731677123762, deleteAt: 1731677143763, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123765, deleteAt: 1731677143765, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677133765, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677123765, deleteAt: 1731677143765, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677133765, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677123765, staleAt: 1731677133765, deleteAt: 1731677143765, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677123765, staleAt: 1731677133765, deleteAt: 1731677143765, body: [Array] }, operator: 'deepStrictEqual' } }
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677124153, deleteAt: 1731677144153, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677134153, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677124153, deleteAt: 1731677144153, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677134153, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677124153, staleAt: 1731677134153, deleteAt: 1731677144153, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677124153, staleAt: 1731677134153, deleteAt: 1731677144153, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677114159, deleteAt: 1731677144159, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677124158, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677114159, deleteAt: 1731677144159, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677124158, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677114159, staleAt: 1731677124158, deleteAt: 1731677144159, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677114159, staleAt: 1731677124158, deleteAt: 1731677144159, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677124161, deleteAt: 1731677144161, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677134161, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677124161, deleteAt: 1731677144161, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677134161, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677124161, staleAt: 1731677134161, deleteAt: 1731677144161, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677124161, staleAt: 1731677134161, deleteAt: 1731677144161, body: [Array] }, operator: 'deepStrictEqual' } }
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677129487, deleteAt: 1731677149487, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677139487, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677129487, deleteAt: 1731677149487, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677139487, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129487, staleAt: 1731677139487, deleteAt: 1731677149487, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129487, staleAt: 1731677139487, deleteAt: 1731677149487, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677119490, deleteAt: 1731677149490, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677129489, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677119490, deleteAt: 1731677149490, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677129489, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677119490, staleAt: 1731677129489, deleteAt: 1731677149490, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677119490, staleAt: 1731677129489, deleteAt: 1731677149490, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677129492, deleteAt: 1731677149492, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677139492, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677129492, deleteAt: 1731677149492, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677139492, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677129492, staleAt: 1731677139492, deleteAt: 1731677149492, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677129492, staleAt: 1731677139492, deleteAt: 1731677149492, body: [Array] }, operator: 'deepStrictEqual' } }
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' }, code: 'ERR_TEST_FAILURE' }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139671, deleteAt: 1731677159671, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677149671, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139671, deleteAt: 1731677159671, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677149671, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677139671, staleAt: 1731677149671, deleteAt: 1731677159671, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677139671, staleAt: 1731677149671, deleteAt: 1731677159671, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677129675, deleteAt: 1731677159675, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677139674, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677129675, deleteAt: 1731677159675, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677139674, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129675, staleAt: 1731677139674, deleteAt: 1731677159675, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129675, staleAt: 1731677139674, deleteAt: 1731677159675, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139678, deleteAt: 1731677159678, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677149678, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139678, deleteAt: 1731677159678, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677149678, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677139678, staleAt: 1731677149678, deleteAt: 1731677159678, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677139678, staleAt: 1731677149678, deleteAt: 1731677159678, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Process completed with exit code 1.
matches interface: test\cache-interceptor\cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Test.start (node:internal/test_runner/test:550:17) at node:internal/test_runner/test:962:71 at node:internal/per_context/primordials:488:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:456:29) at node:internal/per_context/primordials:488:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test\cache-interceptor\cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139071, deleteAt: 1731677159071, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677149071, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139071, deleteAt: 1731677159071, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677149071, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677139071, staleAt: 1731677149071, deleteAt: 1731677159071, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677139071, staleAt: 1731677149071, deleteAt: 1731677159071, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test\cache-interceptor\cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677129078, deleteAt: 1731677159078, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677139077, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677129078, deleteAt: 1731677159078, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677139077, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129078, staleAt: 1731677139077, deleteAt: 1731677159078, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677129078, staleAt: 1731677139077, deleteAt: 1731677159078, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test\cache-interceptor\cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139082, deleteAt: 1731677159082, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677149082, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677139082, deleteAt: 1731677159082, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677149082, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677139082, staleAt: 1731677149082, deleteAt: 1731677159082, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677139082, staleAt: 1731677149082, deleteAt: 1731677159082, body: [Array] }, operator: 'deepStrictEqual' } }
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Process completed with exit code 1.
matches interface: test\cache-interceptor\cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' }, code: 'ERR_TEST_FAILURE' }
basic functionality: test\cache-interceptor\cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142794, deleteAt: 1731677162794, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677152794, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142794, deleteAt: 1731677162794, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677152794, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677142794, staleAt: 1731677152794, deleteAt: 1731677162794, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677142794, staleAt: 1731677152794, deleteAt: 1731677162794, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
returns stale response if possible: test\cache-interceptor\cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677132803, deleteAt: 1731677162803, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677142802, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677132803, deleteAt: 1731677162803, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677142802, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677132803, staleAt: 1731677142802, deleteAt: 1731677162803, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677132803, staleAt: 1731677142802, deleteAt: 1731677162803, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
respects vary directives: test\cache-interceptor\cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142805, deleteAt: 1731677162805, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677152805, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142805, deleteAt: 1731677162805, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677152805, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 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: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677142805, staleAt: 1731677152805, deleteAt: 1731677162805, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677142805, staleAt: 1731677152805, deleteAt: 1731677162805, body: [Array] }, operator: 'deepStrictEqual' }, code: 'ERR_TEST_FAILURE' }
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Process completed with exit code 1.
matches interface: test\cache-interceptor\cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test\cache-interceptor\cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677145055, deleteAt: 1731677165055, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677155055, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677145055, deleteAt: 1731677165055, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677155055, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677145055, staleAt: 1731677155055, deleteAt: 1731677165055, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677145055, staleAt: 1731677155055, deleteAt: 1731677165055, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test\cache-interceptor\cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677135061, deleteAt: 1731677165061, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677145060, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677135061, deleteAt: 1731677165061, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677145060, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677135061, staleAt: 1731677145060, deleteAt: 1731677165061, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677135061, staleAt: 1731677145060, deleteAt: 1731677165061, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test\cache-interceptor\cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677145064, deleteAt: 1731677165064, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677155064, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677145064, deleteAt: 1731677165064, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677155064, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677145064, staleAt: 1731677155064, deleteAt: 1731677165064, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677145064, staleAt: 1731677155064, deleteAt: 1731677165064, body: [Array] }, operator: 'deepStrictEqual' } }
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Process completed with exit code 1.
matches interface: test\cache-interceptor\cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test\cache-interceptor\cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677144986, deleteAt: 1731677164986, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677154986, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677144986, deleteAt: 1731677164986, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677154986, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677144986, staleAt: 1731677154986, deleteAt: 1731677164986, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677144986, staleAt: 1731677154986, deleteAt: 1731677164986, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test\cache-interceptor\cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677134992, deleteAt: 1731677164992, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677144991, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677134992, deleteAt: 1731677164992, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677144991, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677134992, staleAt: 1731677144991, deleteAt: 1731677164992, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677134992, staleAt: 1731677144991, deleteAt: 1731677164992, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test\cache-interceptor\cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677144995, deleteAt: 1731677164995, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677154995, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677144995, deleteAt: 1731677164995, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677154995, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677144995, staleAt: 1731677154995, deleteAt: 1731677164995, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677144995, staleAt: 1731677154995, deleteAt: 1731677164995, body: [Array] }, operator: 'deepStrictEqual' } }
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677150405, deleteAt: 1731677170405, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677160405, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'asd', '123' ], cachedAt: 1731677150405, deleteAt: 1731677170405, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677160405, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677150405, staleAt: 1731677160405, deleteAt: 1731677170405, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677150405, staleAt: 1731677160405, deleteAt: 1731677170405, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677140410, deleteAt: 1731677170410, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677150409, statusCode: 200, statusMessage: '' } ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677140410, deleteAt: 1731677170410, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677150409, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677140410, staleAt: 1731677150409, deleteAt: 1731677170410, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677140410, staleAt: 1731677150409, deleteAt: 1731677170410, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677150413, deleteAt: 1731677170413, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677160413, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { body: [ 'part1', 'part2' ], cachedAt: 1731677150413, deleteAt: 1731677170413, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677160413, statusCode: 200, statusMessage: '', vary: { 'some-header': 'hello world' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677150413, staleAt: 1731677160413, deleteAt: 1731677170413, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677150413, staleAt: 1731677160413, deleteAt: 1731677170413, body: [Array] }, operator: 'deepStrictEqual' } }
Test with Node.js 23 compiled --without-intl
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at node:internal/test_runner/test:1318:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677152560, deleteAt: 1731677172560, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677162560, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677152560, deleteAt: 1731677172560, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677162560, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677152560, staleAt: 1731677162560, deleteAt: 1731677172560, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677152560, staleAt: 1731677162560, deleteAt: 1731677172560, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142564, deleteAt: 1731677172564, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677152563, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677142564, deleteAt: 1731677172564, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677152563, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677142564, staleAt: 1731677152563, deleteAt: 1731677172564, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677142564, staleAt: 1731677152563, deleteAt: 1731677172564, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677152568, deleteAt: 1731677172568, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677162568, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677152568, deleteAt: 1731677172568, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677162568, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677152568, staleAt: 1731677162568, deleteAt: 1731677172568, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677152568, staleAt: 1731677162568, deleteAt: 1731677172568, body: [Array] }, operator: 'deepStrictEqual' } }
Test with Node.js 22 compiled --without-intl
Process completed with exit code 1.
matches interface: test\cache-interceptor\cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:796:25) at Test.start (node:internal/test_runner/test:703:17) at node:internal/test_runner/test:1133:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test\cache-interceptor\cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677165063, deleteAt: 1731677185063, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677175063, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677165063, deleteAt: 1731677185063, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677175063, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677165063, staleAt: 1731677175063, deleteAt: 1731677185063, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677165063, staleAt: 1731677175063, deleteAt: 1731677185063, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test\cache-interceptor\cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677155071, deleteAt: 1731677185071, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677165070, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677155071, deleteAt: 1731677185071, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677165070, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677155071, staleAt: 1731677165070, deleteAt: 1731677185071, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677155071, staleAt: 1731677165070, deleteAt: 1731677185071, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test\cache-interceptor\cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677165075, deleteAt: 1731677185075, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677175075, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677165075, deleteAt: 1731677185075, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677175075, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (D:\a\undici\undici\test\cache-interceptor\cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677165075, staleAt: 1731677175075, deleteAt: 1731677185075, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677165075, staleAt: 1731677175075, deleteAt: 1731677185075, body: [Array] }, operator: 'deepStrictEqual' } }
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Process completed with exit code 1.
matches interface: test/cache-interceptor/cache-stores.js#L18
Error [ERR_TEST_FAILURE]: 'undefined' == 'boolean' at async Promise.all (index 0) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'boolean' at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:18:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:796:25) at Test.start (node:internal/test_runner/test:703:17) at node:internal/test_runner/test:1133:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'boolean', operator: '==' } }
basic functionality: test/cache-interceptor/cache-stores.js#L59
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677167070, deleteAt: 1731677187070, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677177070, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677167070, deleteAt: 1731677187070, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 6, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677177070, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:59:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677167070, staleAt: 1731677177070, deleteAt: 1731677187070, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677167070, staleAt: 1731677177070, deleteAt: 1731677187070, body: [Array] }, operator: 'deepStrictEqual' } }
returns stale response if possible: test/cache-interceptor/cache-stores.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677157075, deleteAt: 1731677187075, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677167074, statusCode: 200, statusMessage: '' }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677157075, deleteAt: 1731677187075, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ + Buffer(1) [Uint8Array] [ + 49 + ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], - Buffer(1) [Uint8Array] [ - 51 - ] - ], staleAt: 1731677167074, statusCode: 200, statusMessage: '' } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:128:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: {}, statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677157075, staleAt: 1731677167074, deleteAt: 1731677187075, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677157075, staleAt: 1731677167074, deleteAt: 1731677187075, body: [Array] }, operator: 'deepStrictEqual' } }
respects vary directives: test/cache-interceptor/cache-stores.js#L198
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677167079, deleteAt: 1731677187079, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677177079, ... 'some-header': 'hello world' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677167079, deleteAt: 1731677187079, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', + rawHeaders: [ - rawHeaders: [ - Buffer(1) [Uint8Array] [ - 49 - ], - Buffer(1) [Uint8Array] [ - 50 - ], Buffer(1) [Uint8Array] [ + 49 - 51 ], + Buffer(1) [Uint8Array] [ + 50 + ], + Buffer(1) [Uint8Array] [ + 51 + ] + ], + size: 10, - ], staleAt: 1731677177079, ... 'some-header': 'hello world' } } at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:198:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { origin: 'localhost', path: '/', method: 'GET', headers: [Object], statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677167079, staleAt: 1731677177079, deleteAt: 1731677187079, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677167079, staleAt: 1731677177079, deleteAt: 1731677187079, body: [Array] }, operator: 'deepStrictEqual' } }
Test with Node.js 20 compiled --without-intl
Process completed with exit code 1.
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28957.546ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3055.031ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 110.931ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 73.671ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 35191.991ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3066.223ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 129.829ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 81.207ms
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28068.388ms
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 2985.444ms
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 109.852ms
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 69.108ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 28220.714ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3034.134ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 112.595ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 72.516ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 31157.451ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3264.632ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 145.779ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 84.187ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 39011.471ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 2997.029ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 119.828ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 58.975ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 37496.690ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3110.062ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 151.740ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 85.843ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 38223.287ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3007.763ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 135.685ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 88.325ms
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 38351.112ms
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 2909.876ms
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 129.980ms
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 59.711ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 50516.663ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3050.106ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 202.464ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 107.549ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 31765.572ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3288.383ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 156.352ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 104.320ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1025 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 39629.832ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3577.126ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 218.584ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 147.090ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 35503.029ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3322.546ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 153.097ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 96.203ms
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 34763.055ms
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3275.067ms
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 152.474ms
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 96.907ms
Test with Node.js 23 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28337.453ms
Test with Node.js 23 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3034.532ms
Test with Node.js 23 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 110.415ms
Test with Node.js 23 compiled --without-intl
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 70.193ms
Test with Node.js 22 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28256.112ms
Test with Node.js 22 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3023.187ms
Test with Node.js 22 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 110.256ms
Test with Node.js 22 compiled --without-intl
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 68.036ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 34259.968ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3470.297ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 301.983ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 137.824ms
Test with Node.js 20 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 29361.624ms
Test with Node.js 20 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3081.275ms
Test with Node.js 20 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 115.712ms
Test with Node.js 20 compiled --without-intl
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 78.670ms