File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33flag=$1
44
55function _runmocha() {
6- mocha $2 $__node_harmony $1 / ** / * -test.js --timeout 60000;
6+ mocha $2 $__node_harmony $( find $1 /test -name ' * -test.js' ) --timeout 60000;
77}
88
99if [ " $flag " == ' --watch' ]; then
Original file line number Diff line number Diff line change 1010 "scripts" : {
1111 "lint" : " [ \" $CI\" = true ] && eslint --quiet . || eslint ." ,
1212 "smoke" : " lighthouse-cli/scripts/run-smoke-tests.sh" ,
13- "coverage" : " node $__node_harmony $(npm bin)/istanbul cover -x \" **/third_party/**\" _mocha -- $(find */test -name '*.js' -not -path '*/fixtures/* ') --timeout 60000 --reporter progress" ,
13+ "coverage" : " node $__node_harmony $(npm bin)/istanbul cover -x \" **/third_party/**\" _mocha -- $(find */test -name '*-test .js') --timeout 60000 --reporter progress" ,
1414 "coveralls" : " npm run coverage && cat ./coverage/lcov.info | coveralls" ,
1515 "start" : " node ./lighthouse-cli/index.js" ,
1616 "test" : " npm run lint --silent && npm run unit && npm run closure" ,
You can’t perform that action at this time.
0 commit comments