tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Tue, 21 Aug 2018 15:23:01 -0400
changeset 39281 c496e8c14b9e
parent 35605 45a816361926
permissions -rw-r--r--
tests: add support for emitting trace events to run-tests Right now this is pretty basic, but it's a start. Differential Revision: https://phab.mercurial-scm.org/D4343

#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