add jester

This commit is contained in:
Markus Dieckmann 2023-07-26 10:59:49 +02:00
parent a337f01534
commit e32ba63a54
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ require'jester'.setup({
path_to_jest_debug = './node_modules/jest/bin/jest', -- used for debugging path_to_jest_debug = './node_modules/jest/bin/jest', -- used for debugging
terminal_cmd = ":vsplit | terminal", -- used to spawn a terminal for running tests, for debugging refer to nvim-dap's config terminal_cmd = ":vsplit | terminal", -- used to spawn a terminal for running tests, for debugging refer to nvim-dap's config
dap = { -- debug adapter configuration dap = { -- debug adapter configuration
type = 'node2', type = 'pwa-node',
request = 'launch', request = 'launch',
cwd = vim.fn.getcwd(), cwd = vim.fn.getcwd(),
runtimeArgs = {'--inspect-brk', '$path_to_jest', '--no-coverage', '-t', '$result', '--', '$file'}, runtimeArgs = {'--inspect-brk', '$path_to_jest', '--no-coverage', '-t', '$result', '--', '$file'},

View File

@ -112,6 +112,7 @@ require("packer").startup(function(use)
use { 'catppuccin/nvim', as = "catppuccin" } use { 'catppuccin/nvim', as = "catppuccin" }
use 'gpanders/editorconfig.nvim' use 'gpanders/editorconfig.nvim'
use 'RRethy/vim-illuminate' use 'RRethy/vim-illuminate'
use 'David-Kunz/jester'
use { 'kylechui/nvim-surround', use { 'kylechui/nvim-surround',
tag = "*", tag = "*",
config = function() config = function()