test(lsp): add tests for removing folders in workspace/didChangeWorkspaceFolders notification#16308
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull request overview
This PR adds test coverage for the workspace/didChangeWorkspaceFolders notification when folders are removed, complementing the existing tests for adding folders. The changes extract common helper functions to reduce code duplication and introduce a constant for the workspace URI.
Key changes:
- Added
WORKSPACEconstant to centralize the workspace URI string - Extracted
shutdown()method for tests without watchers - Extracted
acknowledge_unregistrations()helper function - Added two new test cases:
test_workspace_removed(without watchers) andtest_workspace_removed_watchers(with watchers)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8b6830d to
114665d
Compare
9c90815 to
1d3994d
Compare
1d3994d to
64b59d9
Compare
64b59d9 to
3eaddb8
Compare
Merge activity
|
…spaceFolders` notification (#16308)
3eaddb8 to
5ffc042
Compare
…spaceFolders` notification (oxc-project#16308)

No description provided.