feat: sqlite add set and minor cleanup #15857
Annotations
6 errors and 4 notices
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21)
at runNextTicks (node:internal/process/task_queues:69:3)
at process.processImmediate (node:internal/timers:459:9) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/sqlite-cache-store-tests.js#L23
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21)
at runNextTicks (node:internal/process/task_queues:69:3)
at process.processImmediate (node:internal/timers:459:9) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/sqlite-cache-store-tests.js#L223
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ body: Uint8Array(3) [
- body: Buffer(3) [Uint8Array] [
97,
115,
100
],
cacheControlDirectives: {
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ body: Uint8Array(3) [
- body: Buffer(3) [Uint8Array] [
97,
115,
100
],
cacheControlDirectives: {
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/cache-interceptor/sqlite-cache-store-tests.js:223:3)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:931:25)
at Test.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1042:19)
at Test.run (node:internal/test_runner/test:970:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: { body: [Uint8Array], statusCode: 200, statusMessage: '', headers: [Object], etag: undefined, vary: undefined, cacheControlDirectives: [Object], cachedAt: 1737400500367, staleAt: 1737400510367, deleteAt: 1737400520367 },
expected: { statusCode: 200, statusMessage: '', headers: [Object], cacheControlDirectives: [Object], cachedAt: 1737400500367, staleAt: 1737400510367, deleteAt: 1737400520367, body: <Buffer 61 73 64>, etag: undefined, vary: undefined },
operator: 'deepStrictEqual'
}
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1018
Suites 📂: 92
Passed ✅: 1013
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 37713.972ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2822.994ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 131.646ms
|
Run tests
Total Tests: 33
Suites 📂: 5
Passed ✅: 28
Failed ❌: 5
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 139.741ms
|
Loading