Closed ls-devs closed 5 months ago
neotest-vim-test
doesn't match any root patterns and so if other adapters do match those patterns, it will not become active. neotest-jest and neotest-vitest are both matching hence why disabling one by one didn't work. You can configure adapters for a specific directory with :h neotest.setup_project()
and only enable vim-test for your cypress project
Can confirm it's working with this solution. Thank's for the help. I would have appreciate if things can be done "automatically" but I'll take it.
NeoVim Version NVIM v0.10.0-dev-2255+g4c9119461 Build type: RelWithDebInfo LuaJIT 2.1.1706708390
Describe the bug Actually, when I require all the adapters in my config, I got
No Tests found
when trying to useneotest
forCypress
tests. But it works when I disable all of the adapters exceptneotest-nvim-test
.To Reproduce
Steps to reproduce the behavior:
cypress
test fileExample test file :
Expected behavior
Find / Run and show tests in summary
Logs
Additional context I tried disabling adapters one by one but
neotest-vim-test
only found tests forcypress
when all adapters are disabled.