Skip to content

Commit

Permalink
fix: Test command
Browse files Browse the repository at this point in the history
  • Loading branch information
mateopresacastro committed Nov 7, 2024
1 parent 1447b6a commit df0cf15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/aws/aws.mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from "@aws-sdk/client-s3";

describe("AWS S3 integration tests with LocalStack", () => {
beforeEach(async () => {
beforeAll(async () => {
try {
await s3.send(new CreateBucketCommand({ Bucket: "test-bucket" }));
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"db:format": "npx prisma format",
"db:seed": "npx prisma db seed",
"db:push": "npx prisma db push",
"test": "docker compose up -d --remove-orphans && npm run db:push && npx jest --detectOpenHandles --forceExit --silent"
"test": "docker compose up -d --remove-orphans && npm run db:push && npx jest --detectOpenHandles --forceExit --runInBand"
},
"prisma": {
"schema": "lib/db/schema.prisma",
Expand Down

0 comments on commit df0cf15

Please sign in to comment.