Minitest ignored when including rspec-expectations #3204
Labels
bug
Something isn't working
help-wanted
Extra attention is needed
vscode
This pull request should be included in the VS Code extension's release notes
Description
I'm using minitest and everything was working fine when running tests. I had to add rspec-expectations in order to get some rspec test matchers working, and as soon as I did that the LSP stopped working because now it thinks I'm using RSpec, even though I don't include rspec itself anywhere.
Seems like the test detector forces it into RSpec if any rspec like gem is loaded with no means of overriding?
Would it be possible to get make this overridable like the linter/formatter?
Right now i'm not sure how to even override this or patch it other than renaming rspec-expectations to something else... any ideas?
Ruby LSP Information
VS Code Version
1.94.0
Ruby LSP Extension Version
0.9.5
Ruby LSP Server Version
0.23.11
Ruby LSP Add-ons
Ruby Version
3.4.1
Ruby Version Manager
mise
Installed Extensions
Click to expand
Ruby LSP Settings
Click to expand
Workspace
User
The text was updated successfully, but these errors were encountered: