Skip to content

feat: json, json-all generators #917

feat: json, json-all generators

feat: json, json-all generators #917

Triggered via pull request January 9, 2026 23:31
Status Failure
Total duration 45s
Artifacts

ci.yml

on: pull_request
Lint & Format
34s
Lint & Format
Test & Coverage
42s
Test & Coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
Test & Coverage
Process completed with exit code 1.
extracts multiple code examples: src/generators/json/utils/sections/__tests__/base.test.mjs#L377
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ 'some code here', + 'some code here', 'more code', + 'more code', 'asd', + 'asd' ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/base.test.mjs:377:12) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ 'some code here', 'some code here', 'more code', 'more code', 'asd', 'asd' ], expected: [ 'some code here', 'more code', 'asd' ], operator: 'deepStrictEqual', diff: 'simple' }
extracts single code example: src/generators/json/utils/sections/__tests__/base.test.mjs#L343
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + [ + 'some code here', + 'some code here' + ] - 'some code here' at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/base.test.mjs:343:12) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ 'some code here', 'some code here' ], expected: 'some code here', operator: 'strictEqual', diff: 'simple' }
module.md: src/generators/json/__tests__/index.test.mjs#L45
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: assert.ok(validator.validate(result[0], schema).valid) at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/__tests__/index.test.mjs:45:14) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Test.run (node:internal/test_runner/test:1113:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' }
text-doc.md: src/generators/json/__tests__/index.test.mjs#L45
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: assert.ok(validator.validate(result[0], schema).valid) at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/__tests__/index.test.mjs:45:14) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' }
Test & Coverage
Total Tests: 346 Suites 📂: 93 Passed ✅: 342 Failed ❌: 4 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7670.275ms