return { { "nvim-neotest/neotest-jest" }, { "nvim-neotest/neotest", opts = function(_, opts) table.insert( opts.adapters, require("neotest-jest")({ jestCommand = "npm test --", jestConfig = "jest.config.js", env = { CI = true }, cwd = function() return vim.fn.getcwd() end, }) ) end, keys = { { "tw", "lua require('neotest').run.run({ jestCommand = 'jest --watch ' })", desc = "Jest Watch", }, }, }, }