diff options
Diffstat (limited to 'test/fixers/test_biome_fixer_callback.vader')
-rw-r--r-- | test/fixers/test_biome_fixer_callback.vader | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/fixers/test_biome_fixer_callback.vader b/test/fixers/test_biome_fixer_callback.vader deleted file mode 100644 index 0cb4888e..00000000 --- a/test/fixers/test_biome_fixer_callback.vader +++ /dev/null @@ -1,30 +0,0 @@ -Before: - call ale#assert#SetUpFixerTest('javascript', 'biome') - runtime autoload/ale/handlers/biome.vim - set filetype=javascript - -After: - call ale#assert#TearDownFixerTest() - -Execute(The biome callback should return the correct default values): - call ale#test#SetFilename('../test-files/biome/src/test.js') - - AssertFixer - \ { - \ 'read_temporary_file': 1, - \ 'command': (has('win32') ? 'node.exe ' : '') - \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/biome/node_modules/.bin/biome')) - \ . ' check --apply %t', - \ } - -Execute(The biome callback should include custom biome options): - let b:ale_javascript_biome_options = '--organize-imports-enabled=true' - call ale#test#SetFilename('../test-files/biome/src/test.js') - - AssertFixer - \ { - \ 'read_temporary_file': 1, - \ 'command': (has('win32') ? 'node.exe ' : '') - \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/biome/node_modules/.bin/biome')) - \ . ' check --apply --organize-imports-enabled=true %t', - \ } |