summaryrefslogtreecommitdiff
path: root/test/fixers/test_biome_fixer_callback.vader
diff options
context:
space:
mode:
authorDavid Dominguez <352985+ddominguez@users.noreply.github.com>2024-03-02 02:05:47 -0500
committerGitHub <noreply@github.com>2024-03-02 16:05:47 +0900
commit4d132b3ffa5c42c882fccdf970ddb3f0063ee599 (patch)
tree337795722593af5853b544e381a0ab27deb016b9 /test/fixers/test_biome_fixer_callback.vader
parentb01c0b23bb9f143c672dbb3a589f77dd930123e2 (diff)
downloadale-4d132b3ffa5c42c882fccdf970ddb3f0063ee599.zip
Fix biome formatter (#4733)
* Fix biome formatter Added escaped executable to the biome#Fix command * Added fixer callback test
Diffstat (limited to 'test/fixers/test_biome_fixer_callback.vader')
-rw-r--r--test/fixers/test_biome_fixer_callback.vader15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/fixers/test_biome_fixer_callback.vader b/test/fixers/test_biome_fixer_callback.vader
new file mode 100644
index 00000000..632a7ec4
--- /dev/null
+++ b/test/fixers/test_biome_fixer_callback.vader
@@ -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'
+ \ }
+