tests/test-check-jshint.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 19 Dec 2020 12:01:58 +0900
changeset 46176 300f6e23882a
parent 35605 45a816361926
permissions -rw-r--r--
test-check-interface: do not expect bare "python" executable exists The test would crash if python executable had version suffix.

#require test-repo jshint hg10

  $ . "$TESTDIR/helpers-testrepo.sh"

run jshint on all tracked files ending in .js except vendored dependencies

  $ cd "`dirname "$TESTDIR"`"

  $ testrepohg locate 'set:**.js' \
  > 2>/dev/null \
  > | xargs jshint