Refactor language service #229
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.
|