Skip to content

feat: add jsonc support #99

feat: add jsonc support

feat: add jsonc support #99

Triggered via push April 6, 2025 16:43
Status Failure
Total duration 49s
Artifacts
build-and-test
44s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
build-and-test
Process completed with exit code 1.
test/orchestrator/import/import.test.ts > Import orchestrator tests > Can import a resource (no project) and can save to a new file: test/orchestrator/import/import.test.ts#L187
Error: ENOENT: no such file or directory, open '/codify-imports/import.codify.json' ❯ createError node_modules/memfs/src/node/util.ts:146:17 ❯ Volume.walk node_modules/memfs/src/volume.ts:469:46 ❯ Volume.getResolvedLinkOrThrow node_modules/memfs/src/volume.ts:504:17 ❯ Volume.readFileBase node_modules/memfs/src/volume.ts:961:31 ❯ Volume.readFileSync node_modules/memfs/src/volume.ts:983:17 ❯ test/orchestrator/import/import.test.ts:187:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ENOENT', path: '/codify-imports/import.codify.json' }
src/utils/file-modification-calculator.test.ts > File modification calculator tests > Can insert a new resource in an existing config 2 (multiple): src/utils/file-modification-calculator.test.ts#L415
AssertionError: expected '[\n {\n "type": "project",\n "…' to equal '[\n {\n "type": "project",\n "…' - Expected + Received [ { "type": "project", "plugins": { "default": "latest" } }, { "type": "resource1", - "param2": ["a", "b", "c", "d"], + "param2": ["a", "b", "c", "d"] }, { "type": "resource2", - "param2": ["a", "b", "c", "d"], + "param2": ["a", "b", "c", "d"] } ] ❯ src/utils/file-modification-calculator.test.ts:415:31
src/utils/file-modification-calculator.test.ts > File modification calculator tests > Can insert a new resource in an existing config: src/utils/file-modification-calculator.test.ts#L361
AssertionError: expected '[\n {\n "type": "project",\n "…' to equal '[\n {\n "type": "project",\n "…' - Expected + Received [ { "type": "project", "plugins": { "default": "latest" } }, { "type": "resource1", - "param2": ["a", "b", "c", "d"], + "param2": ["a", "b", "c", "d"] } ] ❯ src/utils/file-modification-calculator.test.ts:361:31
src/parser/source-maps.test.ts > Yaml source map tests > Can retrieve the next element from tree: src/parser/source-maps.test.ts#L109
TypeError: YamlSourceMapBTree is not a constructor ❯ src/parser/source-maps.test.ts:109:27
src/parser/source-maps.test.ts > Yaml source map tests > Can construct a proper yaml source map tree: src/parser/source-maps.test.ts#L66
TypeError: YamlSourceMapBTree is not a constructor ❯ src/parser/source-maps.test.ts:66:27
src/parser/source-maps.test.ts > Yaml source map tests > Can generate the correct yaml endPointers: src/parser/source-maps.test.ts#L33
TypeError: YamlSourceMapAdapter is not a constructor ❯ src/parser/source-maps.test.ts:33:21