tests/test-check-jshint.t
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 20 Feb 2022 13:29:47 -0700
changeset 48958 f547a5dee234
parent 35605 45a816361926
permissions -rw-r--r--
tests: unconditionalize some imports Now that we require Python 3 we can simplify these imports. Differential Revision: https://phab.mercurial-scm.org/D12245

#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