feat(interceptors): migrate decorator handler to new hooks #15676
Annotations
10 errors and 1 notice
Run tests:
test\decorator-handler.js#L39
[Error [ERR_TEST_FAILURE]: 'undefined' == 'function'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'function'
at res.<computed> [as equal] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
Run tests:
test\decorator-handler.js#L46
[Error [ERR_TEST_FAILURE]: decorator[method] is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: decorator[method] is not a function
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7)
}
|
Run tests:
test\decorator-handler.js#L53
[Error [ERR_TEST_FAILURE]: decorator[method] is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: decorator[method] is not a function
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7)
}
|
Run tests:
test\decorator-handler.js#L71
[Error [ERR_TEST_FAILURE]: Got unwanted exception.
Actual message: "decorator[method] is not a function"] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Got unwanted exception.
Actual message: "decorator[method] is not a function"
at res.<computed> [as doesNotThrow] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at D:\a\undici\undici\test\decorator-handler.js:71:45
at getActual (node:assert:498:5)
at Function.doesNotThrow (node:assert:664:32)
at res.<computed> [as doesNotThrow] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
Run tests:
test\decorator-handler.js#L39
[Error [ERR_TEST_FAILURE]: 'undefined' == 'function'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'function'
at res.<computed> [as equal] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
Run tests:
test\decorator-handler.js#L46
[Error [ERR_TEST_FAILURE]: decorator[method] is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: decorator[method] is not a function
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7)
}
|
Run tests:
test\decorator-handler.js#L53
[Error [ERR_TEST_FAILURE]: decorator[method] is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: decorator[method] is not a function
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7)
}
|
Run tests:
test\decorator-handler.js#L71
[Error [ERR_TEST_FAILURE]: Got unwanted exception.
Actual message: "decorator[method] is not a function"] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Got unwanted exception.
Actual message: "decorator[method] is not a function"
at res.<computed> [as doesNotThrow] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at D:\a\undici\undici\test\decorator-handler.js:71:45
at getActual (node:assert:498:5)
at Function.doesNotThrow (node:assert:664:32)
at res.<computed> [as doesNotThrow] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
Run tests:
test\decorator-handler.js#L39
[Error [ERR_TEST_FAILURE]: 'undefined' == 'function'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: 'undefined' == 'function'
at res.<computed> [as equal] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
Run tests:
test\decorator-handler.js#L46
[Error [ERR_TEST_FAILURE]: decorator[method] is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: decorator[method] is not a function
at TestContext.<anonymous> (D:\a\undici\undici\test\decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:527:18)
at Test.postRun (node:internal/test_runner/test:889:19)
at Test.run (node:internal/test_runner/test:835:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:527:7)
}
|
Run tests
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 33324.400ms
|
Loading