Run test in SauceLabs if there is a SAUCE_USERNAME env var, otherwise run them in phantom.
11 lines
114 B
Bash
Executable File
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
|