Offload Oxide scanning to separate process #273
Annotations
10 errors
Run server tests:
packages/tailwindcss-language-server/tests/completions/completions.test.js#L316
TypeError: Cannot read properties of null (reading 'items')
❯ expectCompletions tests/completions/completions.test.js:316:19
❯ tests/completions/completions.test.js:348:5
|
Run server tests:
packages/tailwindcss-language-server/tests/completions/completions.test.js#L316
TypeError: Cannot read properties of null (reading 'items')
❯ expectCompletions tests/completions/completions.test.js:316:19
❯ tests/completions/completions.test.js:336:5
|
Run server tests:
packages/tailwindcss-language-server/tests/completions/at-config.test.js#L239
AssertionError: expected null to deeply equal { Object (isIncomplete, items) }
- Expected:
{
"isIncomplete": false,
"items": [
{
"data": Anything,
"kind": 17,
"label": "index.html",
"textEdit": {
"newText": "index.html",
"range": {
"end": {
"character": 9,
"line": 0,
},
"start": {
"character": 9,
"line": 0,
},
},
},
},
{
"command": {
"command": "editor.action.triggerSuggest",
"title": "",
},
"data": Anything,
"kind": 19,
"label": "sub-dir/",
"textEdit": {
"newText": "sub-dir/",
"range": {
"end": {
"character": 9,
"line": 0,
},
"start": {
"character": 9,
"line": 0,
},
},
},
},
{
"data": Anything,
"kind": 17,
"label": "tailwind.config.js",
"textEdit": {
"newText": "tailwind.config.js",
"range": {
"end": {
"character": 9,
"line": 0,
},
"start": {
"character": 9,
"line": 0,
},
},
},
},
],
}
+ Received:
null
❯ tests/completions/at-config.test.js:239:20
|
Run server tests:
packages/tailwindcss-language-server/tests/completions/at-config.test.js#L213
AssertionError: expected null to deeply equal { isIncomplete: false, …(1) }
- Expected:
{
"isIncomplete": false,
"items": [
{
"data": Anything,
"kind": 17,
"label": "colors.js",
"textEdit": {
"newText": "colors.js",
"range": {
"end": {
"character": 19,
"line": 0,
},
"start": {
"character": 19,
"line": 0,
},
},
},
},
],
}
+ Received:
null
❯ tests/completions/at-config.test.js:213:20
|
Run server tests:
packages/tailwindcss-language-server/tests/completions/at-config.test.js#L177
AssertionError: expected null to deeply equal { Object (isIncomplete, items) }
- Expected:
{
"isIncomplete": false,
"items": [
{
"command": {
"command": "editor.action.triggerSuggest",
"title": "",
},
"data": Anything,
"kind": 19,
"label": "sub-dir/",
"textEdit": {
"newText": "sub-dir/",
"range": {
"end": {
"character": 9,
"line": 0,
},
"start": {
"character": 9,
"line": 0,
},
},
},
},
{
"data": Anything,
"kind": 17,
"label": "tailwind.config.js",
"textEdit": {
"newText": "tailwind.config.js",
"range": {
"end": {
"character": 9,
"line": 0,
},
"start": {
"character": 9,
"line": 0,
},
},
},
},
],
}
+ Received:
null
❯ tests/completions/at-config.test.js:177:20
|
Run server tests:
packages/tailwindcss-language-server/tests/completions/at-config.test.js#L151
AssertionError: expected null to deeply equal { isIncomplete: false, …(1) }
- Expected:
{
"isIncomplete": false,
"items": [
{
"data": Anything,
"kind": 17,
"label": "colors.js",
"textEdit": {
"newText": "colors.js",
"range": {
"end": {
"character": 19,
"line": 0,
},
"start": {
"character": 19,
"line": 0,
},
},
},
},
],
}
+ Received:
null
❯ tests/completions/at-config.test.js:151:20
|
Run server tests:
packages/tailwindcss-language-server/tests/colors/colors.test.js#L170
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- [
- {
- "color": {
- "alpha": 1,
- "blue": 0.14005415620741646,
- "green": 0,
- "red": 0.9475942429386454,
- },
- "range": {
- "end": {
- "character": 35,
- "line": 0,
- },
- "start": {
- "character": 12,
- "line": 0,
- },
- },
- },
- ]
+ []
❯ tests/colors/colors.test.js:170:19
|
Run server tests:
packages/tailwindcss-language-server/tests/colors/colors.test.js#L170
AssertionError: expected [] to deeply equal [ { range: { …(2) }, …(1) } ]
- Expected
+ Received
- [
- {
- "color": {
- "alpha": 0.5,
- "blue": 0,
- "green": 0,
- "red": 1,
- },
- "range": {
- "end": {
- "character": 26,
- "line": 0,
- },
- "start": {
- "character": 12,
- "line": 0,
- },
- },
- },
- ]
+ []
❯ tests/colors/colors.test.js:170:19
|
Run server tests:
packages/tailwindcss-language-server/tests/colors/colors.test.js#L170
AssertionError: expected [] to deeply equal [ { range: { …(2) }, …(1) } ]
- Expected
+ Received
- [
- {
- "color": {
- "alpha": 1,
- "blue": 0,
- "green": 0,
- "red": 1,
- },
- "range": {
- "end": {
- "character": 20,
- "line": 0,
- },
- "start": {
- "character": 12,
- "line": 0,
- },
- },
- },
- ]
+ []
❯ tests/colors/colors.test.js:170:19
|
Run server tests:
packages/tailwindcss-language-server/tests/colors/colors.test.js#L170
AssertionError: expected [] to deeply equal [ Array(1) ]
- Expected
+ Received
- [
- {
- "color": {
- "alpha": 0.2,
- "blue": NumberCloseTo 0.21 (0.01 digits),
- "green": NumberCloseTo 0.172 (0.01 digits),
- "red": NumberCloseTo 0.98 (0.01 digits),
- },
- "range": {
- "end": {
- "character": 25,
- "line": 0,
- },
- "start": {
- "character": 12,
- "line": 0,
- },
- },
- },
- ]
+ []
❯ tests/colors/colors.test.js:170:19
|
Loading