Skip to content

Commit

Permalink
chore: fixed test scripts on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanGalvao committed Apr 19, 2024
1 parent 4687807 commit 3d9fe7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"posttest:int": "npm run docker:test:down",
"pretest:int:cov": "npm run pretest:int",
"test:int:cov": "dotenv -e .env.test -- jest -i --coverage --forceExit --config jest-int.json",
"docker:ci:stop": "docker compose -f docker-compose.ci.yml rm test-db -s -f -v",
"docker:ci:start": "docker compose -f docker-compose.ci.yml up test-db -d",
"docker:ci:stop": "docker compose -f docker-compose.ci.yml down -v --remove-orphans",
"docker:ci:start": "docker compose -f docker-compose.ci.yml up -d",
"docker:ci:restart": "npm run docker:ci:stop && npm run docker:ci:start && sleep 5",
"pretest:e2e:ci": "npm run docker:ci:restart && npx prisma migrate reset --force --skip-seed",
"test:e2e:ci": "jest -i --ci --forceExit --config jest-e2e.json",
Expand Down
2 changes: 1 addition & 1 deletion src/auth/test/e2e/auth.controller.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { CreateMailPayload } from 'src/mail/dto'
import { BullModule } from '@nestjs/bull'
import { QueueModule } from 'src/queue/queue.module'

jest.setTimeout(60 * 1_000)
jest.setTimeout(30 * 1_000)

describe('Auth Controller E2E', () => {
let app: NestExpressApplication
Expand Down

0 comments on commit 3d9fe7a

Please sign in to comment.