Skip to content

fix(legacy-json): more identical output #828

fix(legacy-json): more identical output

fix(legacy-json): more identical output #828

Triggered via pull request December 23, 2025 16:05
Status Failure
Total duration 42s
Artifacts

ci.yml

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

Annotations

9 errors and 1 notice
Test & Coverage
Process completed with exit code 1.
returns false for non-matching content: src/utils/queries/__tests__/index.test.mjs#L214
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:214:43) 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)
returns true for inlineCode + space + type link pattern: src/utils/queries/__tests__/index.test.mjs#L214
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:214:43) 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)
returns true for direct type link pattern: src/utils/queries/__tests__/index.test.mjs#L214
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:214:43) 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)
returns true for typedListStarters pattern match: src/utils/queries/__tests__/index.test.mjs#L214
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:214:43) 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)
returns false for empty lists: src/utils/queries/__tests__/index.test.mjs#L121
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:121:31) 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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7)
returns false for non-list nodes: src/utils/queries/__tests__/index.test.mjs#L114
TypeError: createQueries.UNIST.isTypedList is not a function at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:114:31) 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>)
processes recursive lists: src/generators/legacy-json/utils/__tests__/parseList.test.mjs#L170
TypeError: Cannot read properties of undefined (reading 'options') at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/legacy-json/utils/__tests__/parseList.test.mjs:170:36) 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)
processes property sections: src/generators/legacy-json/utils/__tests__/parseList.test.mjs#L102
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: assert.ok(section.textRaw) at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/generators/legacy-json/utils/__tests__/parseList.test.mjs:102:12) 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: undefined, expected: true, operator: '==', diff: 'simple' }
Test & Coverage
Total Tests: 241 Suites 📂: 72 Passed ✅: 233 Failed ❌: 8 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 5577.818ms