Skip to content

feat(types): support type index #557

feat(types): support type index

feat(types): support type index #557

Triggered via pull request October 18, 2025 16:45
@avivkelleravivkeller
synchronize #463
type-map
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
Lint & Format
30s
Lint & Format
Test & Coverage
43s
Test & Coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
Test & Coverage
Process completed with exit code 1.
should update type to reference not correctly if no match: src/utils/queries/__tests__/index.test.mjs#L44
TypeError [Error]: Cannot use 'in' operator to search for 'test' in undefined at transformType (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:103:21) at file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:124:20 at Array.map (<anonymous>) at transformTypeToReferenceLink (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:118:43) at file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/index.mjs:183:17 at String.replace (<anonymous>) at updateReferences (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/index.mjs:82:8) at Object.updateTypeReference (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/index.mjs:181:7) at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/queries/__tests__/index.test.mjs:44:13) at Test.runInAsyncScope (node:async_hooks:214:14)
should transform a prefixed type into a Markdown link: src/utils/parser/__tests__/index.test.mjs#L28
TypeError [Error]: Cannot use 'in' operator to search for 'prefix.Type' in undefined at transformType (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:103:21) at file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:124:20 at Array.map (<anonymous>) at transformTypeToReferenceLink (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/index.mjs:118:43) at TestContext.<anonymous> (file:///home/runner/work/doc-kit/doc-kit/src/utils/parser/__tests__/index.test.mjs:28:7) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Suite.processPendingSubtests (node:internal/test_runner/test:744:18) at Test.postRun (node:internal/test_runner/test:1173:19) at Test.run (node:internal/test_runner/test:1101:12)
Test & Coverage
Total Tests: 189 Suites 📂: 62 Passed ✅: 187 Failed ❌: 2 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3543.201ms