-
Notifications
You must be signed in to change notification settings - Fork 84
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
Ignoring dist/ direcory #98
Comments
something like |
I don't have a ton of experience with |
I can't explain why you get treesitter errors for a Have you tried neotest's neotest.setup({
discovery = {
filter_dir = function(name, rel_path, root)
return name ~= "dist"
end,
},
})
It isn't no but it shouldn't match any files in |
Thanks for creating this plugin, it is awesome!
I have an issue with a typescript project with the
dist
directory. While it is ignored in thejest.config.js
, neotest considers it when detecting tests. This results in the error below. This doesn't happen when I delete thedist/
directory.This results in a weird behaviour. There is "no tests found" message but neotest sees tests as long as you open a file through a test summary window.
It would be great if either:
jest.config.js
was taken into consideration as there istestPathIgnorePatterns
attribute which already covers this; correct me if I am wrong: I thinkis_test_file
is not based onjest.config.js
currently.Let me know which approach would be better, I am happy to open a PR, thanks!
The text was updated successfully, but these errors were encountered: