summaryrefslogtreecommitdiff
path: root/test/fixers/test_eslint_fixer_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-16 21:19:07 +0100
committerw0rp <devw0rp@gmail.com>2020-08-16 21:20:08 +0100
commit5c778e1ae752163a849609318ace6c3c6a37d6f7 (patch)
treee63994ca0e20c554caa31b43f7e1a5fa62795b4d /test/fixers/test_eslint_fixer_callback.vader
parent5ceda0164c5fae0d61fd51d4c9e083b27abdc9d2 (diff)
downloadale-5c778e1ae752163a849609318ace6c3c6a37d6f7.zip
Make it easier to run tests locally
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
Diffstat (limited to 'test/fixers/test_eslint_fixer_callback.vader')
-rw-r--r--test/fixers/test_eslint_fixer_callback.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fixers/test_eslint_fixer_callback.vader b/test/fixers/test_eslint_fixer_callback.vader
index 400267ac..50fc6672 100644
--- a/test/fixers/test_eslint_fixer_callback.vader
+++ b/test/fixers/test_eslint_fixer_callback.vader
@@ -1,7 +1,11 @@
Before:
call ale#assert#SetUpFixerTest('javascript', 'eslint')
+ Save g:ale_command_wrapper
+
runtime autoload/ale/handlers/eslint.vim
+ let g:ale_command_wrapper = ''
+
After:
call ale#assert#TearDownFixerTest()