summaryrefslogtreecommitdiff
path: root/test/linter/test_graphql_gqlint.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_graphql_gqlint.vader')
-rw-r--r--test/linter/test_graphql_gqlint.vader9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/linter/test_graphql_gqlint.vader b/test/linter/test_graphql_gqlint.vader
new file mode 100644
index 00000000..22c05a6a
--- /dev/null
+++ b/test/linter/test_graphql_gqlint.vader
@@ -0,0 +1,9 @@
+Before:
+ call ale#assert#SetUpLinterTest('graphql', 'gqlint')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The linter should run from the directory of the file in the buffer):
+ AssertLinterCwd '%s:h'
+ AssertLinter 'gqlint', 'gqlint --reporter=simple %t'