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

Using the watch command crashes NeoVim if I open a project without jest installed? #136

Open
NigelGreenway opened this issue Jan 3, 2025 · 0 comments

Comments

@NigelGreenway
Copy link

When I add the following line to enable watching of jest tests, and I open my NeoVim config, my editor just crashes

jestCommand = require("neotest-jest.jest-util").getJestCommand(vim.fn.expand("%:p:h")) .. " --watch",

When I remove it, I can open nvim anywhere. My understanding here is that this line is needed in order to watch jest tests, without it they shouldn't work. But on investigation, it is currently working... 😕

This is the only adapter I have enabled in my neotest set up so far.

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

No branches or pull requests

1 participant