Headers webidl errors #15312
Annotations
2 errors and 7 notices
Run tests with coverage:
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'
}] {
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> (/home/runner/work/undici/undici/test/webidl/errors.js:18:12)
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 startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Headers.get: name is a symbol, which cannot be converted to a ByteString.
at webidl.errors.exception (/home/runner/work/undici/undici/lib/web/fetch/webidl.js:27:10)
at webidl.converters.ByteString (/home/runner/work/undici/undici/lib/web/fetch/webidl.js:507:25)
at Headers.get (/home/runner/work/undici/undici/lib/web/fetch/headers.js:523:30)
at /home/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> (/home/runner/work/undici/undici/test/webidl/errors.js:18:12)
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),
expected: TypeError: Headers.get: name is a symbol, which cannot be converted to a DOMString.
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/webidl/errors.js:20: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 startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17),
operator: 'throws'
}
}
|
Run tests with coverage
Process completed with exit code 1.
|
Run tests with coverage
Total Tests: 1029
Suites 📂: 78
Passed ✅: 1024
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 31612.010ms
|
Run tests with coverage
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3149.513ms
|
Run tests with coverage
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 144.512ms
|
Run tests with coverage
Total Tests: 18
Suites 📂: 3
Passed ✅: 18
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 84.094ms
|
Run tests with coverage
Total Tests: 117
Suites 📂: 1
Passed ✅: 117
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 6354.094ms
|
Run tests with coverage
Total Tests: 404
Suites 📂: 17
Passed ✅: 403
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 37352.887ms
|
Run tests with coverage
Total Tests: 22
Suites 📂: 4
Passed ✅: 21
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 187.470ms
|
Loading