tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 06 Mar 2020 00:28:09 +0100
branchstable
changeset 44200 dca4b5da417d
parent 35605 45a816361926
permissions -rw-r--r--
test: cleanly skip test-remotefilelog-datapack.py on policy that breaks it That tests requires the pure module to be available. Differential Revision: https://phab.mercurial-scm.org/D8245

#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