-
Notifications
You must be signed in to change notification settings - Fork 57
build: update vscode-css-languageservice #128
build: update vscode-css-languageservice #128
Conversation
Both before and after updating packages, running e2e tests fail for me:
Is this expected on |
@hantatsang i had the same issue which is a shame, are you able to update the dependencies again and I can take a look at the test |
@jasonwilliams I just to upgraded to |
All my tests also failed at first after this upgrade. But then I |
Yep i just noticed that too. I have the same single test failing now, thanks. |
Looks like it used to return 2 spans at one point, now it returns 3. Here's what
|
@hantatsang i think the new output (above) is correct. It seems like it creates an extra span for the whole thing. So the test can be updated to accept that. Im guessing when this was originally written only the 2 inner blocks generated spans, but now it generates a span for the pings @mjbvz for confirmation |
Also @hantatsang does |
@hantatsang could you change assert.strictEqual(spans.length, 3);
// The first span represents the root
const [_, span2, span3] = spans;
assertPosition(span2.textSpan.start, 2, 1);
assertPosition(span2.textSpan.end, 3, 1);
assertPosition(span3.textSpan.start, 5, 1);
assertPosition(span3.textSpan.end, 6, 1); Then I think we're good |
Thanks, @jasonwilliams . Updated. Hope this will get reviewed & merged. |
@mjbvz are you able to look at this also? |
Thanks! |
Close #119
Implementation
vscode-css-languageservice
to v5.1.0.vscode-languageserver-types
to v3.16.0 due to compatibility withvscode-css-languageservice