tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 14 Apr 2024 02:41:36 +0200
changeset 51616 ecf4b959fa74
parent 35605 45a816361926
permissions -rw-r--r--
perf: start recording total time after warming The warming might be costly and this should not affect the "time profile" of the actual collection.

#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