Headers webidl errors #15312
Annotations
2 errors and 7 notices
Run tests:
test/webidl/errors.js#L18
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Headers.get: name is a symbol, which cannot be converted to a ByteString.',
- message: 'Headers.get: name is a symbol, which cannot be converted to a DOMString.',
name: 'TypeError'
}
at AsyncResource.runInAsyncScope (node:async_hooks:206:9) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Headers.get: name is a symbol, which cannot be converted to a ByteString.',
- message: 'Headers.get: name is a symbol, which cannot be converted to a DOMString.',
name: 'TypeError'
}
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/webidl/errors.js:18:12)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Headers.get: name is a symbol, which cannot be converted to a ByteString.
at webidl.errors.exception (/Users/runner/work/undici/undici/lib/web/fetch/webidl.js:27:10)
at webidl.converters.ByteString (/Users/runner/work/undici/undici/lib/web/fetch/webidl.js:507:25)
at Headers.get (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:523:30)
at /Users/runner/work/undici/undici/test/webidl/errors.js:19:34
at getActual (node:assert:498:5)
at Function.throws (node:assert:644:24)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/webidl/errors.js:18:12)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18),
expected: TypeError: Headers.get: name is a symbol, which cannot be converted to a DOMString.
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/webidl/errors.js:20:7)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8),
operator: 'throws'
}
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1029
Suites 📂: 78
Passed ✅: 1024
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 41218.412ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3153.145ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 329.881ms
|
Run tests
Total Tests: 18
Suites 📂: 3
Passed ✅: 18
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 99.553ms
|
Run tests
Total Tests: 117
Suites 📂: 1
Passed ✅: 117
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 8222.452ms
|
Run tests
Total Tests: 404
Suites 📂: 17
Passed ✅: 403
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 168523.252ms
|
Run tests
Total Tests: 22
Suites 📂: 4
Passed ✅: 21
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 148.048ms
|
Loading