summaryrefslogtreecommitdiff
path: root/test/linter/test_jscs.vader
blob: 7cdf546705ba58914f5d31ca8f8f70a3a1febef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
  call ale#assert#SetUpLinterTest('javascript', 'jscs')

After:
  call ale#assert#TearDownLinterTest()

Execute(Should return the correct default values):
  AssertLinter 'jscs',
  \ ale#Escape('jscs') . ' --reporter inline --no-colors -'

Execute(Should allow using a custom executable):
  let g:ale_javascript_jscs_executable = 'foobar'

  AssertLinter 'foobar',
  \ ale#Escape('foobar') . ' --reporter inline --no-colors -'