Fix server e2e tests on CI #4
This commit is contained in:
@ -18,8 +18,7 @@
|
||||
"test:watch": "jest --watch",
|
||||
"test:cov": "jest --coverage",
|
||||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
||||
"test:e2e": "./scripts/setenv.sh && ./scripts/run-integration.sh",
|
||||
"test:e2e-ci": "./scripts/run-integration.sh",
|
||||
"test:e2e": "./scripts/run-integration.sh",
|
||||
"prisma:generate-client": "npx prisma generate --generator client && yarn prisma:generate-gql-select",
|
||||
"prisma:generate-gql-select": "node scripts/generate-model-select-map.js",
|
||||
"prisma:generate-nest-graphql": "npx prisma generate --generator nestgraphql",
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# src/run-integration.sh
|
||||
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
source $DIR/setenv.sh
|
||||
|
||||
npx ts-node ./test/utils/check-db.ts
|
||||
EXIT_CODE=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user