You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
394 B

## disable EE if options not set
if [[ -z "$RUN_EE" ]]; then
export STRAPI_DISABLE_EE=true
else
export STRAPI_DISABLE_LICENSE_PING=true
fi
export ENV_PATH="$(pwd)/test-apps/api/.env"
export JWT_SECRET="aSecret"
opts=($DB_OPTIONS)
jestOptions=($JEST_OPTIONS)
yarn run test:generate-app:no-build --appPath=test-apps/api "${opts[@]}"
yarn run test:api --no-generate-app "${jestOptions[@]}"