Files
PINE/test/open_with_dev_stack.sh
Laura Glendenning a0d0a8bd69 Update angular from 7 -> 12.
Also includes a bugfix in oauth code.
2021-08-05 18:32:19 -04:00

23 lines
532 B
Bash
Executable File

#!/bin/bash
# (C) 2019 The Johns Hopkins University Applied Physics Laboratory LLC.
DIR="$( cd "$( dirname "${0}" )" && pwd )"
source ${DIR}/tests/run_common.sh
if [[ $1 == --pytest ]]; then
pushd ${DIR}/tests
pipenv run pytest pytest/ &
PYTEST_PID="$!"
popd
wait ${PYTEST_PID}
elif [[ $1 == --cypress ]]; then
pushd ${DIR}/tests
npm run cypress:open -- --config-file cypress.dev.json &
CYPRESS_PID="$!"
popd
wait ${CYPRESS_PID}
else
echo "Usage: $0 [--pytest|--cypress]"
exit 1
fi