Skip to content

Commit

Permalink
Fix chrome-launcher test running via mocha script
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone committed Jun 5, 2017
1 parent e71ee5f commit 98110d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/scripts/run-mocha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ elif [ "$flag" == '--viewer' ]; then
elif [ "$flag" == '--core' ]; then
_runmocha 'lighthouse-core'
elif [ "$flag" == '--launcher' ]; then
_runmocha 'chrome-launcher'
cd chrome-launcher && yarn tests -- --timeout 60000 --reporter dot
else
echo "lighthouse-core tests" && _runmocha 'lighthouse-core' && \
echo "lighthouse-cli tests" && _runmocha 'lighthouse-cli' && \
echo "lighthouse-viewer tests" && _runmocha 'lighthouse-viewer' && \
echo "chrome-launcher tests" && _runmocha 'chrome-launcher'
echo "chrome-launcher tests" && cd chrome-launcher && yarn tests -- --timeout 60000 --reporter dot
fi

0 comments on commit 98110d8

Please sign in to comment.