Fix biome formatter (#4733)

* Fix biome formatter

Added escaped executable to the biome#Fix command

* Added fixer callback test
This commit is contained in:
David Dominguez authored and GitHub committed 2024-03-02 16:05:47 +09:00
1 parent b01c0b23bb
commit 4d132b3ffa
2 files changed
+16 -1

No files matched your search

@@ -0,0 +1,15 @@
Before:
call ale#assert#SetUpFixerTest('typescript', 'biome')
After:
call ale#assert#TearDownFixerTest()
Execute(The default biome command should be correct):
call ale#test#SetFilename('../test-files/typescript/test.ts')
AssertFixer
\ {
\ 'command': ale#Escape('biome')
\ . ' format --stdin-file-path=%s'
\ }