10 lines
426 B
Lua
10 lines
426 B
Lua
return {
|
|
"nvim-neotest/neotest",
|
|
optional = true,
|
|
-- stylua: ignore
|
|
keys = {
|
|
{ "<leader>tl", function() require("neotest").run.run_last() end, desc = "Run Last Test" },
|
|
{ "<leader>tL", function() require("neotest").run.run_last({ strategy = "dap" }) end, desc = "Debug Last Test" },
|
|
{ "<leader>tw", "<cmd>lua require('neotest').run.run({ jestCommand = 'jest --watch ' })<cr>", desc = "Run Watch" },
|
|
},
|
|
}
|