Skip to content

Commit

Permalink
bug: api e2e tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Feb 22, 2024
1 parent 2c84ac0 commit 11226ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
"build:web": "turbo run build --filter=web",
"build:workspace": "turbo run build --filter=workspace",
"test": "turbo run test",
"test:api": "pnpm db:generate-types && turbo run test --no-cache --filter=api -- --config=jest.config.ts",
"e2e:api:prepare": "docker compose down && docker compose -f docker-compose-test.yml up -d && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' pnpm run db:deploy-migrations",
"e2e:api": "pnpm run e2e:api:prepare && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' turbo run test:e2e --no-cache -- --coverage --coverageDirectory=coverage-e2e/api --coverageReporters=json && pnpm run e2e:api:teardown",
"test:api": "pnpm db:generate-types && turbo run test --filter=api -- --config=jest.config.ts",
"e2e:api:prepare": "docker compose down && docker compose -f docker-compose-test.yml up -d && pnpm db:generate-types && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' pnpm run db:deploy-migrations",
"e2e:api": "pnpm run e2e:api:prepare && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' turbo run test --no-cache --filter=api -- --config=jest.e2e-config.ts --coverage --coverageDirectory=../../coverage-e2e/api --coverageReporters=json && pnpm run e2e:api:teardown",
"e2e:api:teardown": "docker compose -f docker-compose-test.yml down",
"test:web": "turbo run test --filter=web",
"test:workspace": "turbo run test --filter=workspace",
Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json

This file was deleted.

0 comments on commit 11226ee

Please sign in to comment.