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'
}
] {
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> (D:\a\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:297: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 (D:\a\undici\undici\lib\web\fetch\webidl.js:27:10)
at webidl.converters.ByteString (D:\a\undici\undici\lib\web\fetch\webidl.js:507:25)
at Headers.get (D:\a\undici\undici\lib\web\fetch\headers.js:523:30)
at D:\a\undici\undici\test\webidl\errors.js:19:34
at getActual (node:assert:498:5)
at Function.throws (node:assert:644:24)
at TestContext.<anonymous> (D:\a\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> (D:\a\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:297:17),
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 🕐: 35163.553ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3241.435ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 152.965ms
|
Run tests
Total Tests: 18
Suites 📂: 3
Passed ✅: 18
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 91.794ms
|
Run tests
Total Tests: 108
Suites 📂: 1
Passed ✅: 108
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 6526.835ms
|
Run tests
Total Tests: 404
Suites 📂: 17
Passed ✅: 403
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 43621.742ms
|
Run tests
Total Tests: 22
Suites 📂: 4
Passed ✅: 21
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 213.677ms
|
Loading