mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
also allow captialized Spec filename for tests
This commit is contained in:
@@ -37,7 +37,7 @@ return {
|
||||
config = function()
|
||||
vim.cmd [[
|
||||
let test#strategy = 'neovim'
|
||||
let test#javascript#jest#file_pattern = '\v(__tests__/.*|(spec|tests?))\.(js|jsx|coffee|ts|tsx)$'
|
||||
let test#javascript#jest#file_pattern = '\v(__tests__/.*|([sS]pec|tests?))\.(js|jsx|coffee|ts|tsx)$'
|
||||
]]
|
||||
end,
|
||||
keys = {
|
||||
|
||||
Reference in New Issue
Block a user