Refactor language service #229
Annotations
3 errors
Run tests:
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
|
Run tests:
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
|
Run tests
Process completed with exit code 1.
|
Loading