summaryrefslogtreecommitdiff
path: root/lua/jacksontaylorxyz/packer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/jacksontaylorxyz/packer.lua')
-rw-r--r--lua/jacksontaylorxyz/packer.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/jacksontaylorxyz/packer.lua b/lua/jacksontaylorxyz/packer.lua
index ca25675..8cde1ec 100644
--- a/lua/jacksontaylorxyz/packer.lua
+++ b/lua/jacksontaylorxyz/packer.lua
@@ -119,6 +119,26 @@ return require('packer').startup(function(use)
}
use {'fatih/vim-go', run = ':GoUpdateBinaries' } -- Nice Golang plugin
use 'buoto/gotests-vim' -- Better Golang Testing (generates tests for you)
+ use({ -- Test runner (WIP)
+ 'nvim-neotest/neotest',
+ requires = {
+ 'nvim-neotest/neotest-jest',
+ },
+ config = function()
+ require('neotest').setup({
+ adapters = {
+ require('neotest-jest')({
+ jestCommand = "npm test --",
+ jestConfigFile = "custom.jest.config.ts",
+ env = { CI = true },
+ cwd = function(path)
+ return vim.fn.getcwd()
+ end,
+ }),
+ }
+ })
+ end
+ })
-- Fun things
use 'eandrju/cellular-automaton.nvim' -- Animations on your code