Skip to content

Add AST support of JSONC (for theme check, language features, etc.) #1526

Add AST support of JSONC (for theme check, language features, etc.)

Add AST support of JSONC (for theme check, language features, etc.) #1526

Triggered via push December 6, 2024 14:29
Status Failure
Total duration 2m 25s
Artifacts

ci.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts > Module: JSONSyntaxError > should report an error for invalid JSON (0): packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts#L14
AssertionError: expected 'Failed to parse JSONC' to equal 'Unexpected token <,>' Expected: "Unexpected token <,>" Received: "Failed to parse JSONC" ❯ packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts:14:36
packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts > Module: JSONSyntaxError > should report an error for invalid JSON (1): packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts#L29
AssertionError: expected 'Failed to parse JSONC' to equal 'Unexpected end of input' Expected: "Unexpected end of input" Received: "Failed to parse JSONC" ❯ packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts:29:36
packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts > Module: JSONSyntaxError > should report an error for invalid JSON (2): packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts#L44
AssertionError: expected 'Failed to parse JSONC' to equal 'Unexpected symbol <\'>' Expected: "Unexpected symbol <'>" Received: "Failed to parse JSONC" ❯ packages/theme-check-common/src/checks/json-syntax-error/index.spec.ts:44:36
Tests / OS ubuntu-latest / NodeJS 20
Process completed with exit code 1.
Tests / OS windows-latest / NodeJS 20
The job was canceled because "ubuntu-latest_20" failed.
Tests / OS windows-latest / NodeJS 20
The operation was canceled.
Tests / OS ubuntu-latest / NodeJS 18
The job was canceled because "ubuntu-latest_20" failed.
Tests / OS ubuntu-latest / NodeJS 18
The operation was canceled.
Tests / OS windows-latest / NodeJS 18
The job was canceled because "ubuntu-latest_20" failed.
Tests / OS windows-latest / NodeJS 18
The operation was canceled.
Tests / OS ubuntu-latest / NodeJS 20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636