Files
lock/scripts/test.sh
Gabriel Andretta 8664599b39 Update test script
Run test in SauceLabs if there is a SAUCE_USERNAME env var, otherwise
run them in phantom.
2016-07-26 13:40:01 -03:00

11 lines
114 B
Bash
Executable File

#!/bin/bash
source scripts/common.sh
if [ -n "$SAUCE_USERNAME" ]
then
npm run test
else
npm run test:cli
fi