From 98110d8dc430f731ce79f1568bf729f2e07076a1 Mon Sep 17 00:00:00 2001 From: Sam Saccone Date: Mon, 5 Jun 2017 10:16:51 -0700 Subject: [PATCH] Fix chrome-launcher test running via mocha script --- lighthouse-core/scripts/run-mocha.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse-core/scripts/run-mocha.sh b/lighthouse-core/scripts/run-mocha.sh index ec9c3d73776a..c4b67fcf4d5d 100755 --- a/lighthouse-core/scripts/run-mocha.sh +++ b/lighthouse-core/scripts/run-mocha.sh @@ -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