feat(interceptors): migrate decorator handler to new hooks #15676
nodejs.yml
on: pull_request
Matrix: test-without-intl
Matrix: test
dependency-review
13s
Lint
45s
Fuzzing
3m 31s
Test TypeScript types
50s
Test with SQLite enabled
27s
automerge
0s
Annotations
122 errors and 13 notices
Lint:
lib/interceptor/dns.js#L5
'WrapHandler' is assigned a value but never used
|
Lint
Process completed with exit code 1.
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/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)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/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)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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 /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/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)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/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)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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 /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/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)
}
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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: '=='
}
}
|
should delegate onConnect-method:
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> (/Users/runner/work/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)
}
|
should delegate onConnect-method with arguments:
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> (/Users/runner/work/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)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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 /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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'
}
}
|
should have delegate onError-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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: '=='
}
}
|
should delegate onError-method:
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> (/Users/runner/work/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)
}
|
should delegate onError-method with arguments:
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> (/Users/runner/work/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)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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 /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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'
}
}
|
should have delegate onUpgrade-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/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: '=='
}
}
|
should delegate onUpgrade-method:
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> (/Users/runner/work/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)
}
|
should have delegate onConnect-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /Users/runner/work/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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/Users/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633: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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633: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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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: '=='
}
}
|
should delegate onConnect-method:
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)
}
|
should delegate onConnect-method with arguments:
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)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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'
}
}
|
should have delegate onError-method:
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: '=='
}
}
|
should delegate onError-method:
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)
}
|
should delegate onError-method with arguments:
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)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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'
}
}
|
should have delegate onUpgrade-method:
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: '=='
}
}
|
should delegate onUpgrade-method:
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)
}
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/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)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/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)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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 /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/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)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/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)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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 /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/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: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/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)
}
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:53:42)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: decorator[method] is not a function
at /home/runner/work/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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:71:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/decorator-handler.js:39:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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> (/home/runner/work/undici/undici/test/decorator-handler.js:46:32)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should have delegate onConnect-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onConnect-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onConnect-method with arguments:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onConnect-method should not throw if the method is not defined in the handler:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633: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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onError-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onError-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
should delegate onError-method with arguments:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
calling the method onError-method should not throw if the method is not defined in the handler:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633: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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
should have delegate onUpgrade-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'undefined',
expected: 'function',
operator: '=='
}
}
|
should delegate onUpgrade-method:
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:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
Test with SQLite enabled
Total Tests: 34
Suites 📂: 5
Passed ✅: 34
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 171.235ms
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 29349.186ms
|
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 28236.614ms
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 31002.564ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 38883.145ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 37432.754ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 39321.488ms
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 33581.426ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 33324.400ms
|
Test with Node.js 20 compiled --without-intl
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 29526.866ms
|
Test with Node.js 23 compiled --without-intl
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 28686.398ms
|
Test with Node.js 22 compiled --without-intl
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 28545.826ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 1034
Suites 📂: 78
Passed ✅: 999
Failed ❌: 30
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 39510.357ms
|