From a73ffa893032a0c7ba758eb7af788e3e43ae110b Mon Sep 17 00:00:00 2001 From: Roshan Ranabhat Date: Sat, 19 Mar 2022 17:32:44 +0545 Subject: [PATCH] ci: debug e2e test setting --- .github/variables/myvars.env | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/variables/myvars.env b/.github/variables/myvars.env index 9560ce4..efe01b0 100644 --- a/.github/variables/myvars.env +++ b/.github/variables/myvars.env @@ -1,6 +1,6 @@ NODE_ENV=test DB_TYPE=postgres -DB_HOST=127.0.0.1 +DB_HOST=localhost DB_PORT=5432 DB_DATABASE_NAME=truthy_db DB_USERNAME=truthy_user diff --git a/package.json b/package.json index 73700a5..f2d5bd6 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "test:watch": "jest --config ./test/unit/jest-unit.json --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": "jest --config ./test/e2e/jest-e2e.json --detectOpenHandles", - "test:unit": "jest --config ./test/unit/jest-unit.json --runInBand --runInBand", + "test:e2e": "jest --config ./test/e2e/jest-e2e.json --runInBand --detectOpenHandles", + "test:unit": "jest --config ./test/unit/jest-unit.json --runInBand", "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config src/config/ormconfig.ts", "orm-create": "npm run typeorm migration:create -- -n", "migrate": "npm run typeorm migration:run",