summaryrefslogtreecommitdiff
path: root/test/linter/test_javascript_deno_lsp.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_javascript_deno_lsp.vader')
-rw-r--r--test/linter/test_javascript_deno_lsp.vader11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/linter/test_javascript_deno_lsp.vader b/test/linter/test_javascript_deno_lsp.vader
index 965ce600..c48d52cc 100644
--- a/test/linter/test_javascript_deno_lsp.vader
+++ b/test/linter/test_javascript_deno_lsp.vader
@@ -1,5 +1,10 @@
Before:
- let g:ale_deno_importMap = 'import_map.json'
+ Save g:ale_deno_import_map
+ Save g:ale_deno_unstable
+ Save g:ale_deno_executable
+ Save g:ale_deno_lsp_project_root
+
+ let g:ale_deno_import_map = 'import_map.json'
let g:ale_deno_unstable = 0
let g:ale_deno_executable = 'deno'
let g:ale_deno_lsp_project_root = ''
@@ -39,7 +44,7 @@ Execute(Should set the default importMap filepath):
\}
Execute(Should set the importMap filepath from user defined importMap):
- let g:ale_deno_importMap = 'custom_import_map.json'
+ let g:ale_deno_import_map = 'custom_import_map.json'
call ale#test#SetFilename('../test-files/javascript_deno/main.js')
AssertLSPOptions {
@@ -50,7 +55,7 @@ Execute(Should set the importMap filepath from user defined importMap):
\}
Execute(Should set the importMap filepath from user defined importMap with unstable API):
- let g:ale_deno_importMap = 'custom_import_map.json'
+ let g:ale_deno_import_map = 'custom_import_map.json'
let g:ale_deno_unstable = 1
call ale#test#SetFilename('../test-files/javascript_deno/main.js')