Skip to content

Refactor language service #229

Refactor language service

Refactor language service #229

Triggered via pull request April 23, 2024 18:10
Status Failure
Total duration 4m 11s
Artifacts

pull_request.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors
src/features/__tests__/code-actions-extract.test.ts > extraction for variable: packages/language-services/src/features/__tests__/code-actions-extract.test.ts#L42
AssertionError: expected [ { range: { …(2) }, …(1) } ] to deeply equal [ { …(2) } ] - Expected + Received Array [ Object { - "newText": "$_variable: black; + "newText": "$_variable: black; --var: $_variable", "range": Object { "end": Object { "character": 12, "line": 0, }, "start": Object { "character": 0, "line": 0, }, }, }, ] ❯ src/features/__tests__/code-actions-extract.test.ts:42:9
src/features/__tests__/code-actions-extract.test.ts > extraction for multiline variable: packages/language-services/src/features/__tests__/code-actions-extract.test.ts#L70
AssertionError: expected [ { range: { …(2) }, …(1) } ] to deeply equal [ { …(2) } ] - Expected + Received Array [ Object { - "newText": "$_variable: inset 0 0 0 jkl.rem(1px) var(--jkl-calendar-border-color), - 0 0 0 jkl.rem(1px) var(--jkl-calendar-border-color), jkl.rem(2px) jkl.rem(4px) jkl.rem(16px) rgb(0 0 0 / 24%); + "newText": "$_variable: inset 0 0 0 jkl.rem(1px) var(--jkl-calendar-border-color), + 0 0 0 jkl.rem(1px) var(--jkl-calendar-border-color), jkl.rem(2px) jkl.rem(4px) jkl.rem(16px) rgb(0 0 0 / 24%); box-shadow: $_variable;", "range": Object { "end": Object { "character": 111, "line": 1, }, "start": Object { "character": 0, "line": 0, }, }, }, ] ❯ src/features/__tests__/code-actions-extract.test.ts:70:9
test (windows-latest)
Process completed with exit code 1.
test (macos-13)
The job was canceled because "windows-latest" failed.
test (macos-13)
The operation was canceled.