Skip to content

fixup

fixup #55

Triggered via push May 21, 2024 14:28
Status Failure
Total duration 15m 49s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 2 warnings, and 2 notices
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) }
enterWith fixes it: test/async-hooks.test.js#L49
[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/async-hooks.test.js:49:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:657:9) at async Test.processPendingSubtests (node:internal/test_runner/test:389:7) }
test (20.x)
Process completed with exit code 1.
test (18.x)
The job was canceled because "_20_x" failed.
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' }
enterWith fixes it: test/async-hooks.test.js#L49
[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/async-hooks.test.js:49:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
test (18.x)
The operation was canceled.
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 (20.x)
Total Tests: 12 Suites 📂: 2 Passed ✅: 8 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 392.406ms
test (18.x)
Total Tests: 12 Suites 📂: 2 Passed ✅: 8 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 519.413ms