Skip to content

fix: memory store #15365

fix: memory store

fix: memory store #15365

Triggered via pull request November 15, 2024 13:25
@ronagronag
synchronize #3834
memory-store
Status Failure
Total duration 3m 59s
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: 1731677205142, deleteAt: 1731677225142, + 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: 1731677215142, 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: 1731677205142, deleteAt: 1731677225142, + 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: 1731677215142, 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: 1731677205142, staleAt: 1731677215142, deleteAt: 1731677225142, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677205142, staleAt: 1731677215142, deleteAt: 1731677225142, 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: 1731677195147, deleteAt: 1731677225147, + 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: 1731677205146, 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: 1731677195147, deleteAt: 1731677225147, + 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: 1731677205146, 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: 1731677195147, staleAt: 1731677205146, deleteAt: 1731677225147, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677195147, staleAt: 1731677205146, deleteAt: 1731677225147, 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: 1731677205151, deleteAt: 1731677225151, + 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: 1731677215151, ... '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: 1731677205151, deleteAt: 1731677225151, + 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: 1731677215151, ... '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: 1731677205151, staleAt: 1731677215151, deleteAt: 1731677225151, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677205151, staleAt: 1731677215151, deleteAt: 1731677225151, 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) { 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: 1731677208770, deleteAt: 1731677228770, + 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: 1731677218770, 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: 1731677208770, deleteAt: 1731677228770, + 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: 1731677218770, 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: 1731677208770, staleAt: 1731677218770, deleteAt: 1731677228770, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677208770, staleAt: 1731677218770, deleteAt: 1731677228770, 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: 1731677198776, deleteAt: 1731677228776, + 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: 1731677208775, 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: 1731677198776, deleteAt: 1731677228776, + 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: 1731677208775, 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: 1731677198776, staleAt: 1731677208775, deleteAt: 1731677228776, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677198776, staleAt: 1731677208775, deleteAt: 1731677228776, 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: 1731677208780, deleteAt: 1731677228780, + 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: 1731677218780, ... '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: 1731677208780, deleteAt: 1731677228780, + 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: 1731677218780, ... '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: 1731677208780, staleAt: 1731677218780, deleteAt: 1731677228780, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677208780, staleAt: 1731677218780, deleteAt: 1731677228780, 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) { 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: 1731677211129, deleteAt: 1731677231129, + 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: 1731677221129, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677211129, deleteAt: 1731677231129, + 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: 1731677221129, 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: 1731677211129, staleAt: 1731677221129, deleteAt: 1731677231129, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677211129, staleAt: 1731677221129, deleteAt: 1731677231129, 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: 1731677201135, deleteAt: 1731677231135, + 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: 1731677211134, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677201135, deleteAt: 1731677231135, + 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: 1731677211134, 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: 1731677201135, staleAt: 1731677211134, deleteAt: 1731677231135, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677201135, staleAt: 1731677211134, deleteAt: 1731677231135, 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: 1731677211139, deleteAt: 1731677231139, + 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: 1731677221139, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677211139, deleteAt: 1731677231139, + 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: 1731677221139, ... '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: 1731677211139, staleAt: 1731677221139, deleteAt: 1731677231139, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677211139, staleAt: 1731677221139, deleteAt: 1731677231139, 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: 1731677212514, deleteAt: 1731677232514, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677222514, 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: 1731677212514, deleteAt: 1731677232514, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677222514, 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: 1731677212514, staleAt: 1731677222514, deleteAt: 1731677232514, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677212514, staleAt: 1731677222514, deleteAt: 1731677232514, 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: 1731677202519, deleteAt: 1731677232519, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677212518, 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: 1731677202519, deleteAt: 1731677232519, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677212518, 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: 1731677202519, staleAt: 1731677212518, deleteAt: 1731677232519, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677202519, staleAt: 1731677212518, deleteAt: 1731677232519, 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: 1731677212523, deleteAt: 1731677232523, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677222523, 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: 1731677212523, deleteAt: 1731677232523, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677222523, 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: 1731677212523, staleAt: 1731677222523, deleteAt: 1731677232523, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677212523, staleAt: 1731677222523, deleteAt: 1731677232523, 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> (/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: 1731677213870, deleteAt: 1731677233870, + 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: 1731677223870, 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: 1731677213870, deleteAt: 1731677233870, + 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: 1731677223870, 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: 1731677213870, staleAt: 1731677223870, deleteAt: 1731677233870, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677213870, staleAt: 1731677223870, deleteAt: 1731677233870, 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: 1731677203873, deleteAt: 1731677233873, + 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: 1731677213872, 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: 1731677203873, deleteAt: 1731677233873, + 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: 1731677213872, 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: 1731677203873, staleAt: 1731677213872, deleteAt: 1731677233873, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677203873, staleAt: 1731677213872, deleteAt: 1731677233873, 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: 1731677213874, deleteAt: 1731677233874, + 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: 1731677223874, ... '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: 1731677213874, deleteAt: 1731677233874, + 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: 1731677223874, ... '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: 1731677213874, staleAt: 1731677223874, deleteAt: 1731677233874, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677213874, staleAt: 1731677223874, deleteAt: 1731677233874, 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> (/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: 1731677222775, deleteAt: 1731677242775, + 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: 1731677232775, 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: 1731677222775, deleteAt: 1731677242775, + 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: 1731677232775, 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: 1731677222775, staleAt: 1731677232775, deleteAt: 1731677242775, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677222775, staleAt: 1731677232775, deleteAt: 1731677242775, 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: 1731677212781, deleteAt: 1731677242781, + 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: 1731677222780, 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: 1731677212781, deleteAt: 1731677242781, + 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: 1731677222780, 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: 1731677212781, staleAt: 1731677222780, deleteAt: 1731677242781, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677212781, staleAt: 1731677222780, deleteAt: 1731677242781, 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: 1731677222783, deleteAt: 1731677242783, + 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: 1731677232783, ... '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: 1731677222783, deleteAt: 1731677242783, + 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: 1731677232783, ... '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: 1731677222783, staleAt: 1731677232783, deleteAt: 1731677242783, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677222783, staleAt: 1731677232783, deleteAt: 1731677242783, 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: 1731677221978, deleteAt: 1731677241978, + 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: 1731677231978, 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: 1731677221978, deleteAt: 1731677241978, + 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: 1731677231978, 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: 1731677221978, staleAt: 1731677231978, deleteAt: 1731677241978, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677221978, staleAt: 1731677231978, deleteAt: 1731677241978, 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: 1731677211981, deleteAt: 1731677241981, + 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: 1731677221980, 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: 1731677211981, deleteAt: 1731677241981, + 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: 1731677221980, 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: 1731677211981, staleAt: 1731677221980, deleteAt: 1731677241981, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677211981, staleAt: 1731677221980, deleteAt: 1731677241981, 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: 1731677221982, deleteAt: 1731677241982, + 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: 1731677231982, ... '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: 1731677221982, deleteAt: 1731677241982, + 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: 1731677231982, ... '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: 1731677221982, staleAt: 1731677231982, deleteAt: 1731677241982, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677221982, staleAt: 1731677231982, deleteAt: 1731677241982, 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: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: 1731677226728, deleteAt: 1731677246728, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677236728, 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: 1731677226728, deleteAt: 1731677246728, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677236728, 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: 1731677226728, staleAt: 1731677236728, deleteAt: 1731677246728, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677226728, staleAt: 1731677236728, deleteAt: 1731677246728, 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: 1731677216731, deleteAt: 1731677246731, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677226730, 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: 1731677216731, deleteAt: 1731677246731, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677226730, 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: 1731677216731, staleAt: 1731677226730, deleteAt: 1731677246731, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677216731, staleAt: 1731677226730, deleteAt: 1731677246731, 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: 1731677226733, deleteAt: 1731677246733, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677236733, 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: 1731677226733, deleteAt: 1731677246733, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677236733, 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: 1731677226733, staleAt: 1731677236733, deleteAt: 1731677246733, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677226733, staleAt: 1731677236733, deleteAt: 1731677246733, 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) { 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: 1731677230150, deleteAt: 1731677250150, + 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: 1731677240150, 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: 1731677230150, deleteAt: 1731677250150, + 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: 1731677240150, 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: 1731677230150, staleAt: 1731677240150, deleteAt: 1731677250150, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677230150, staleAt: 1731677240150, deleteAt: 1731677250150, 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: 1731677220155, deleteAt: 1731677250155, + 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: 1731677230154, 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: 1731677220155, deleteAt: 1731677250155, + 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: 1731677230154, 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: 1731677220155, staleAt: 1731677230154, deleteAt: 1731677250155, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677220155, staleAt: 1731677230154, deleteAt: 1731677250155, 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: 1731677230160, deleteAt: 1731677250160, + 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: 1731677240160, ... '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: 1731677230160, deleteAt: 1731677250160, + 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: 1731677240160, ... '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: 1731677230160, staleAt: 1731677240160, deleteAt: 1731677250160, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677230160, staleAt: 1731677240160, deleteAt: 1731677250160, 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> (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: 1731677231089, deleteAt: 1731677251089, + 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: 1731677241089, 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: 1731677231089, deleteAt: 1731677251089, + 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: 1731677241089, 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: 1731677231089, staleAt: 1731677241089, deleteAt: 1731677251089, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677231089, staleAt: 1731677241089, deleteAt: 1731677251089, 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: 1731677221096, deleteAt: 1731677251096, + 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: 1731677231095, 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: 1731677221096, deleteAt: 1731677251096, + 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: 1731677231095, 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: 1731677221096, staleAt: 1731677231095, deleteAt: 1731677251096, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677221096, staleAt: 1731677231095, deleteAt: 1731677251096, 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: 1731677231099, deleteAt: 1731677251099, + 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: 1731677241099, ... '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: 1731677231099, deleteAt: 1731677251099, + 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: 1731677241099, ... '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: 1731677231099, staleAt: 1731677241099, deleteAt: 1731677251099, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677231099, staleAt: 1731677241099, deleteAt: 1731677251099, 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> (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: 1731677241357, deleteAt: 1731677261357, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677251357, 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: 1731677241357, deleteAt: 1731677261357, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677251357, 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: 1731677241357, staleAt: 1731677251357, deleteAt: 1731677261357, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677241357, staleAt: 1731677251357, deleteAt: 1731677261357, 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: 1731677231365, deleteAt: 1731677261365, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677241364, 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: 1731677231365, deleteAt: 1731677261365, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677241364, 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: 1731677231365, staleAt: 1731677241364, deleteAt: 1731677261365, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677231365, staleAt: 1731677241364, deleteAt: 1731677261365, 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: 1731677241369, deleteAt: 1731677261369, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677251369, 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: 1731677241369, deleteAt: 1731677261369, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677251369, 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: 1731677241369, staleAt: 1731677251369, deleteAt: 1731677261369, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677241369, staleAt: 1731677251369, deleteAt: 1731677261369, 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) { 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: 1731677241750, deleteAt: 1731677261750, + 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: 1731677251750, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677241750, deleteAt: 1731677261750, + 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: 1731677251750, 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: 1731677241750, staleAt: 1731677251750, deleteAt: 1731677261750, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677241750, staleAt: 1731677251750, deleteAt: 1731677261750, 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: 1731677231757, deleteAt: 1731677261757, + 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: 1731677241756, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677231757, deleteAt: 1731677261757, + 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: 1731677241756, 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: 1731677231757, staleAt: 1731677241756, deleteAt: 1731677261757, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677231757, staleAt: 1731677241756, deleteAt: 1731677261757, 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: 1731677241760, deleteAt: 1731677261760, + 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: 1731677251760, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677241760, deleteAt: 1731677261760, + 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: 1731677251760, ... '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: 1731677241760, staleAt: 1731677251760, deleteAt: 1731677261760, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677241760, staleAt: 1731677251760, deleteAt: 1731677261760, 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: 1731677242310, deleteAt: 1731677262310, + 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: 1731677252310, 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: 1731677242310, deleteAt: 1731677262310, + 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: 1731677252310, 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: 1731677242310, staleAt: 1731677252310, deleteAt: 1731677262310, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677242310, staleAt: 1731677252310, deleteAt: 1731677262310, 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: 1731677232316, deleteAt: 1731677262316, + 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: 1731677242315, 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: 1731677232316, deleteAt: 1731677262316, + 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: 1731677242315, 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: 1731677232316, staleAt: 1731677242315, deleteAt: 1731677262316, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677232316, staleAt: 1731677242315, deleteAt: 1731677262316, 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: 1731677242318, deleteAt: 1731677262318, + 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: 1731677252318, ... '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: 1731677242318, deleteAt: 1731677262318, + 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: 1731677252318, ... '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: 1731677242318, staleAt: 1731677252318, deleteAt: 1731677262318, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677242318, staleAt: 1731677252318, deleteAt: 1731677262318, 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: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: 1731677248243, deleteAt: 1731677268243, + 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: 1731677258243, 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: 1731677248243, deleteAt: 1731677268243, + 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: 1731677258243, 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: 1731677248243, staleAt: 1731677258243, deleteAt: 1731677268243, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677248243, staleAt: 1731677258243, deleteAt: 1731677268243, 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: 1731677238250, deleteAt: 1731677268250, + 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: 1731677248249, 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: 1731677238250, deleteAt: 1731677268250, + 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: 1731677248249, 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: 1731677238250, staleAt: 1731677248249, deleteAt: 1731677268250, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677238250, staleAt: 1731677248249, deleteAt: 1731677268250, 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: 1731677248253, deleteAt: 1731677268253, + 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: 1731677258253, ... '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: 1731677248253, deleteAt: 1731677268253, + 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: 1731677258253, ... '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: 1731677248253, staleAt: 1731677258253, deleteAt: 1731677268253, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677248253, staleAt: 1731677258253, deleteAt: 1731677268253, 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) { 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: 1731677246678, deleteAt: 1731677266678, + 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: 1731677256678, 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: 1731677246678, deleteAt: 1731677266678, + 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: 1731677256678, 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: 1731677246678, staleAt: 1731677256678, deleteAt: 1731677266678, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677246678, staleAt: 1731677256678, deleteAt: 1731677266678, 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: 1731677236683, deleteAt: 1731677266683, + 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: 1731677246682, 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: 1731677236683, deleteAt: 1731677266683, + 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: 1731677246682, 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: 1731677236683, staleAt: 1731677246682, deleteAt: 1731677266683, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677236683, staleAt: 1731677246682, deleteAt: 1731677266683, 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: 1731677246687, deleteAt: 1731677266687, + 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: 1731677256687, ... '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: 1731677246687, deleteAt: 1731677266687, + 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: 1731677256687, ... '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: 1731677246687, staleAt: 1731677256687, deleteAt: 1731677266687, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677246687, staleAt: 1731677256687, deleteAt: 1731677266687, body: [Array] }, operator: 'deepStrictEqual' } }
Test with Node.js 20 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) { 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: 1731677252286, deleteAt: 1731677272286, + 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: 1731677262286, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677252286, deleteAt: 1731677272286, + 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: 1731677262286, 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: 1731677252286, staleAt: 1731677262286, deleteAt: 1731677272286, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677252286, staleAt: 1731677262286, deleteAt: 1731677272286, 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: 1731677242290, deleteAt: 1731677272290, + 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: 1731677252289, statusCode: 200, statusMessage: '' }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677242290, deleteAt: 1731677272290, + 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: 1731677252289, 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: 1731677242290, staleAt: 1731677252289, deleteAt: 1731677272290, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677242290, staleAt: 1731677252289, deleteAt: 1731677272290, 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: 1731677252292, deleteAt: 1731677272292, + 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: 1731677262292, ... 'some-header': 'hello world' } }] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped { body: [ ... cachedAt: 1731677252292, deleteAt: 1731677272292, + 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: 1731677262292, ... '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: 1731677252292, staleAt: 1731677262292, deleteAt: 1731677272292, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677252292, staleAt: 1731677262292, deleteAt: 1731677272292, 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> (/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: 1731677269305, deleteAt: 1731677289305, + 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: 1731677279305, 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: 1731677269305, deleteAt: 1731677289305, + 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: 1731677279305, 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: 1731677269305, staleAt: 1731677279305, deleteAt: 1731677289305, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677269305, staleAt: 1731677279305, deleteAt: 1731677289305, 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: 1731677259309, deleteAt: 1731677289309, + 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: 1731677269308, 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: 1731677259309, deleteAt: 1731677289309, + 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: 1731677269308, 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: 1731677259309, staleAt: 1731677269308, deleteAt: 1731677289309, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677259309, staleAt: 1731677269308, deleteAt: 1731677289309, 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: 1731677269312, deleteAt: 1731677289312, + 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: 1731677279312, ... '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: 1731677269312, deleteAt: 1731677289312, + 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: 1731677279312, ... '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: 1731677269312, staleAt: 1731677279312, deleteAt: 1731677289312, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677269312, staleAt: 1731677279312, deleteAt: 1731677289312, 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> (/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: 1731677302995, deleteAt: 1731677322995, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677312995, 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: 1731677302995, deleteAt: 1731677322995, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 6, staleAt: 1731677312995, 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: 1731677302995, staleAt: 1731677312995, deleteAt: 1731677322995, size: 6, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677302995, staleAt: 1731677312995, deleteAt: 1731677322995, 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: 1731677292999, deleteAt: 1731677322999, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677302998, 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: 1731677292999, deleteAt: 1731677322999, + headers: {}, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677302998, 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: 1731677292999, staleAt: 1731677302998, deleteAt: 1731677322999, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], cachedAt: 1731677292999, staleAt: 1731677302998, deleteAt: 1731677322999, 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: 1731677303002, deleteAt: 1731677323002, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677313002, 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: 1731677303002, deleteAt: 1731677323002, + headers: { + 'some-header': 'hello world' + }, + method: 'GET', + origin: 'localhost', + path: '/', rawHeaders: [ Buffer(1) [Uint8Array] [ 49 ], Buffer(1) [Uint8Array] [ ... ], + size: 10, staleAt: 1731677313002, 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: 1731677303002, staleAt: 1731677313002, deleteAt: 1731677323002, size: 10, body: [Array] }, expected: { statusCode: 200, statusMessage: '', rawHeaders: [Array], vary: [Object], cachedAt: 1731677303002, staleAt: 1731677313002, deleteAt: 1731677323002, body: [Array] }, operator: 'deepStrictEqual' } }
Test with Node.js 23 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 🕐: 29002.550ms
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 🕐: 3070.145ms
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 🕐: 103.656ms
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 🕐: 75.687ms
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 🕐: 28175.337ms
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 🕐: 3030.723ms
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 🕐: 110.985ms
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.775ms
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 🕐: 35484.551ms
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 🕐: 3100.190ms
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 🕐: 131.141ms
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 🕐: 90.561ms
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 🕐: 28358.179ms
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 🕐: 2998.951ms
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.928ms
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 🕐: 72.901ms
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 🕐: 36074.642ms
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 🕐: 2848.312ms
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 🕐: 147.990ms
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 🕐: 57.615ms
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 🕐: 31253.952ms
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 🕐: 3182.634ms
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 🕐: 138.932ms
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 🕐: 87.024ms
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 🕐: 38331.450ms
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 🕐: 2988.179ms
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 🕐: 137.433ms
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 🕐: 54.625ms
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 🕐: 38380.868ms
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 🕐: 2955.569ms
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 🕐: 198.012ms
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 🕐: 85.141ms
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 🕐: 38348.627ms
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 🕐: 3071.061ms
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 🕐: 138.597ms
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 🕐: 75.470ms
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 🕐: 32256.998ms
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 🕐: 3314.579ms
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 🕐: 159.505ms
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 🕐: 105.526ms
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 🕐: 33597.179ms
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 🕐: 3388.758ms
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 🕐: 148.273ms
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 🕐: 109.210ms
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 🕐: 39133.696ms
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 🕐: 3387.277ms
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 🕐: 178.681ms
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 🕐: 112.326ms
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 🕐: 33962.877ms
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 🕐: 3281.097ms
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 🕐: 145.230ms
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 🕐: 95.194ms
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 🕐: 32041.410ms
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 🕐: 3306.907ms
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 🕐: 155.922ms
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 🕐: 110.196ms
Test with Node.js 20 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 29449.922ms
Test with Node.js 20 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3102.529ms
Test with Node.js 20 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 110.841ms
Test with Node.js 20 compiled --without-intl
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 90.632ms
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 🕐: 49680.151ms
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 🕐: 3465.712ms
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 🕐: 194.295ms
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 🕐: 69.185ms
Test with Node.js 22 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28178.758ms
Test with Node.js 22 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3039.746ms
Test with Node.js 22 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 105.993ms
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.848ms
Test with Node.js 23 compiled --without-intl
Total Tests: 1029 Suites 📂: 78 Passed ✅: 1024 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 28423.808ms
Test with Node.js 23 compiled --without-intl
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3054.212ms
Test with Node.js 23 compiled --without-intl
Total Tests: 3 Suites 📂: 0 Passed ✅: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 106.582ms
Test with Node.js 23 compiled --without-intl
Total Tests: 17 Suites 📂: 3 Passed ✅: 13 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 73.709ms