added store.enterWith() #53
Annotations
10 errors, 4 warnings, and 2 notices
does not throw using enterWith:
test/before.test.js#L20
[Error [ERR_TEST_FAILURE]: store.enterWith is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: store.enterWith is not a function
at Object.enterWith (/home/runner/work/fastify-asyncforge/fastify-asyncforge/index.js:23:11)
at TestContext.<anonymous> (/home/runner/work/fastify-asyncforge/fastify-asyncforge/test/before.test.js:20:13)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
|
throws:
test/before.test.js#L33
[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled', code: 'ERR_TEST_FAILURE' }
|
does not throw using enterWith again:
test/before.test.js#L37
[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled', code: 'ERR_TEST_FAILURE' }
|
enterWith in before:
test/before.test.js#L30
[Error [ERR_TEST_FAILURE]: failed running before hook] {
failureType: 'hookFailed',
cause: TypeError [Error]: store.enterWith is not a function
at Object.enterWith (/home/runner/work/fastify-asyncforge/fastify-asyncforge/index.js:23:11)
at SuiteContext.<anonymous> (/home/runner/work/fastify-asyncforge/fastify-asyncforge/test/before.test.js:30:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestHook.run (node:internal/test_runner/test:632:9)
at async node:internal/test_runner/test:565:9
at async Suite.runHook (node:internal/test_runner/test:563:7)
at async Suite.run (node:internal/test_runner/test:942:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
|
test (18.x)
Process completed with exit code 1.
|
does not throw using enterWith:
test/before.test.js#L20
[Error [ERR_TEST_FAILURE]: store.enterWith is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: store.enterWith is not a function
at Object.enterWith (/home/runner/work/fastify-asyncforge/fastify-asyncforge/index.js:23:11)
at TestContext.<anonymous> (/home/runner/work/fastify-asyncforge/fastify-asyncforge/test/before.test.js:20:13)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:656:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:389:7)
}
|
throws:
test/before.test.js#L33
[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
|
does not throw using enterWith again:
test/before.test.js#L37
[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
|
enterWith in before:
test/before.test.js#L30
[Error [ERR_TEST_FAILURE]: failed running before hook] {
code: 'ERR_TEST_FAILURE',
failureType: 'hookFailed',
cause: TypeError [Error]: store.enterWith is not a function
at Object.enterWith (/home/runner/work/fastify-asyncforge/fastify-asyncforge/index.js:23:11)
at SuiteContext.<anonymous> (/home/runner/work/fastify-asyncforge/fastify-asyncforge/test/before.test.js:30:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestHook.run (node:internal/test_runner/test:657:9)
at async node:internal/test_runner/test:588:9
at async Suite.runHook (node:internal/test_runner/test:586:7)
at async Suite.run (node:internal/test_runner/test:983:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:389:7)
}
|
test (20.x)
Process completed with exit code 1.
|
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (18.x)
Total Tests: 10
Suites 📂: 2
Passed ✅: 7
Failed ❌: 1
Canceled 🚫: 2
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 283.997ms
|
test (20.x)
Total Tests: 10
Suites 📂: 2
Passed ✅: 7
Failed ❌: 1
Canceled 🚫: 2
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 225.321ms
|