require("neotest").setup( { adapters = { require("neotest-jest")( { jestCommand = "npx jest" } ), require("neotest-zig") }, icons = { passed = "🌈", skipped = "🌙", failed = "⛈️", running = "☀️" }, highlights = { passed = "DiagnosticSignSuccess", skipped = "DiagnosticSignInfo", failed = "DiagnosticSignError", running = "DiagnosticSignWarn" } } ) local keymap = vim.api.nvim_set_keymap keymap("n", "tf", ':lua require("neotest").run.run(vim.fn.expand("%"))', {silent = true, noremap = true}) keymap("n", "tn", ':lua require("neotest").run.run()', {silent = true}) keymap("n", "tr", ':lua require("neotest").run.run()', {silent = true}) keymap("n", "td", ':lua require("neotest").output.open({enter=true,short=true})', {silent = true})