fix(legacy-json): more identical output #825
ci.yml
on: pull_request
Lint & Format
24s
Test & Coverage
33s
Annotations
3 errors and 1 notice
|
Test & Coverage
Process completed with exit code 1.
|
|
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 ✅: 239
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 5626.829ms
|