LazyVim + neotest-mocha and overcoming "No test found"

Overview The author transitioned from AstroVim to LazyVim and configured neotest-mocha for test running in NeoVim. The setup required careful attention to file discovery patterns. Installation Steps Mason Tools Installed bash-language-server eslint_d gitui js-debug-adapter lua-language-server marksman prettierd shellcheck, shfmt sqlfluff stylua typescript-language-server vtsls Lazy Extras Loaded dap.core, dap.nlua editor.inc-rename, editor.neo-tree formatting.prettier linting.eslint lsp.none-ls test.core util.gitui, vscode Configuration A plugin configuration file was created at ~/.config/nvim/lua/plugins/neotest with neotest-mocha adapter setup. The config includes custom command arguments handling context data for test execution. ...

September 7, 2025 · Geoff Corey