Skip to content

feat: json, json-all generators #919

feat: json, json-all generators

feat: json, json-all generators #919

Triggered via pull request January 10, 2026 04:31
Status Failure
Total duration 40s
Artifacts

ci.yml

on: pull_request
Lint & Format
31s
Lint & Format
Test & Coverage
38s
Test & Coverage
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 notice
Lint & Format
Process completed with exit code 1.
[<boolean>](https://mdn-link) | [<string>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L688
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { + '@name': undefined, - '@name': 'value', '@type': [ 'boolean', 'string' ], + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:688:14) 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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ { '@name': undefined, '@type': [Array], description: undefined } ], expected: [ { '@name': 'value', '@type': [Array] } ], operator: 'deepStrictEqual', diff: 'simple' }
[<boolean>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L622
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { + '@name': undefined, - '@name': 'value', '@type': 'boolean', + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:622:14) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at node:internal/test_runner/test:1516:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) at node:internal/per_context/primordials:466:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ { '@name': undefined, '@type': 'boolean', description: undefined } ], expected: [ { '@name': 'value', '@type': 'boolean' } ], operator: 'deepStrictEqual', diff: 'simple' }
Type: [<boolean>](https://mdn-link) description bla bla bla: src/generators/json/utils/sections/__tests__/event.test.mjs#L567
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { + '@name': undefined, - '@name': 'value', '@type': 'boolean', description: 'description bla bla bla' } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:567:14) 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: [ { '@name': undefined, '@type': 'boolean', description: 'description bla bla bla' } ], expected: [ { '@name': 'value', '@type': 'boolean', description: 'description bla bla bla' } ], operator: 'deepStrictEqual', diff: 'simple' }
Type: [<boolean>](https://mdn-link) | [<string>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L507
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { + '@name': undefined, - '@name': 'value', '@type': [ 'boolean', 'string' ], + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:507:14) 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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ { '@name': undefined, '@type': [Array], description: undefined } ], expected: [ { '@name': 'value', '@type': [Array] } ], operator: 'deepStrictEqual', diff: 'simple' }
Type: [<boolean>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L437
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { + '@name': undefined, - '@name': 'value', '@type': 'boolean', + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:437:14) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at node:internal/test_runner/test:1516:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) at node:internal/per_context/primordials:466:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ { '@name': undefined, '@type': 'boolean', description: undefined } ], expected: [ { '@name': 'value', '@type': 'boolean' } ], operator: 'deepStrictEqual', diff: 'simple' }
`paramName` {boolean} description bla bla bla: src/generators/json/utils/sections/__tests__/event.test.mjs#L378
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + [] - [ - { - '@name': 'paramName', - '@type': 'boolean', - description: 'description bla bla bla' - } - ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:378:14) 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: [], expected: [ { '@name': 'paramName', '@type': 'boolean', description: 'description bla bla bla' } ], operator: 'deepStrictEqual', diff: 'simple' }
`paramName` {boolean}: src/generators/json/utils/sections/__tests__/event.test.mjs#L328
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + [] - [ - { - '@name': 'paramName', - '@type': 'boolean' - } - ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:328:14) 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: [], expected: [ { '@name': 'paramName', '@type': 'boolean' } ], operator: 'deepStrictEqual', diff: 'simple' }
`paramName` [<boolean>](https://mdn-link) | [<string>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L213
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { '@name': 'paramName', '@type': [ 'boolean', 'string' ], + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:213:14) 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: [ { '@name': 'paramName', '@type': [Array], description: undefined } ], expected: [ { '@name': 'paramName', '@type': [Array] } ], operator: 'deepStrictEqual', diff: 'simple' }
`paramName` [<boolean>](https://mdn-link): src/generators/json/utils/sections/__tests__/event.test.mjs#L139
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected [ { '@name': 'paramName', '@type': 'boolean', + description: undefined } ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:139:14) 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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [ { '@name': 'paramName', '@type': 'boolean', description: undefined } ], expected: [ { '@name': 'paramName', '@type': 'boolean' } ], operator: 'deepStrictEqual', diff: 'simple' }
`paramName`: src/generators/json/utils/sections/__tests__/event.test.mjs#L79
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + [] - [ - { - '@name': 'paramName', - '@type': 'any' - } - ] at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/json/utils/sections/__tests__/event.test.mjs:79:14) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at node:internal/test_runner/test:1516:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) at node:internal/per_context/primordials:466:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [], expected: [ { '@name': 'paramName', '@type': 'any' } ], operator: 'deepStrictEqual', diff: 'simple' }
Test & Coverage
Total Tests: 347 Suites 📂: 94 Passed ✅: 333 Failed ❌: 14 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 8156.840ms