Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes server/modules/formatter tests #450

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

jbalsas
Copy link
Contributor

@jbalsas jbalsas commented Mar 28, 2023

Fix copied from original PR

https://github.com/stylelint/vscode-stylelint/pull/426/files#diff-f2680deb1906c0920d4e4b4f73879a32a741ed4288aabb2a218a2eef48f38211

Just trying to see if we can help push feat: Report ranges for diagnostics through the finishing line

We tested the branch and it worked nicely!

Before After
Screenshot 2023-03-28 at 16 54 52 Screenshot 2023-03-28 at 16 55 21

Even though CI seemed green in the PR, some tests appeared to be failing locally. We just went ahead and borrowed from refactor: update deps the smallest fix we could find that made it green locally too

Before After
Screenshot 2023-03-28 at 17 24 57 Screenshot 2023-03-28 at 17 22 29

cc @samrose3

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ota-meshi ota-meshi merged commit 7560578 into stylelint:report-ranges Aug 16, 2023
ota-meshi added a commit that referenced this pull request Oct 31, 2023
* feat: Report ranges for diagnostics

* update snap

* update changelog

* update stylelint

* Fixes server/modules/formatter tests (#450)

Fix copied from original PR

https://github.com/stylelint/vscode-stylelint/pull/426/files#diff-f2680deb1906c0920d4e4b4f73879a32a741ed4288aabb2a218a2eef48f38211

* update snapshot

* update snapshot

* fix

* fix: test cases

---------

Co-authored-by: yosuke ota <[email protected]>
Co-authored-by: Chema Balsas <[email protected]>
ota-meshi added a commit that referenced this pull request Nov 2, 2023
* feat: Allow disposing server, add first LSP test (#326)

* feat: Allow disposing server, add first LSP test

* test: close connection before finishing

* refactor: use stylelint namespace for custom event

* feat: Add restart server command (#339)

Closes #332

* test: add code actions on save end-to-end test (#341)

* test: add code actions on save end-to-end test

* test:test auto-fix on save after problem actions

Quick hack to hopefully stabilize tests on CI for now

* feat: Warn for old Stylelint regardless of lang ID (#340)

Does not warn if Stylelint was resolved globally, only locally.

* test: await functions that may return promises

* fix: de-nest globs used for watching config files (#356)

* fix: de-nest globs used for watching config files

* test: update extension tests

* docs: update changelog

* fix: ts error (#471)

* feat: Report ranges for diagnostics (#358)

* feat: Report ranges for diagnostics

* update snap

* update changelog

* update stylelint

* Fixes server/modules/formatter tests (#450)

Fix copied from original PR

https://github.com/stylelint/vscode-stylelint/pull/426/files#diff-f2680deb1906c0920d4e4b4f73879a32a741ed4288aabb2a218a2eef48f38211

* update snapshot

* update snapshot

* fix

* fix: test cases

---------

Co-authored-by: yosuke ota <[email protected]>
Co-authored-by: Chema Balsas <[email protected]>

---------

Co-authored-by: Adaline Valentina Simonian <[email protected]>
Co-authored-by: Chema Balsas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants