Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Theezr committed Aug 14, 2024
1 parent b246085 commit 29bad33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start:dev": "npm run prisma && nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:migrate:prod": "prisma migrate deploy && npm run start:prod",
"start:migrate:prod": "npm run prisma migrate deploy && npm run start:prod",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
Expand Down
2 changes: 1 addition & 1 deletion src/prisma/prisma.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class PrismaService extends PrismaClient implements OnModuleInit {

if (process.env.NODE_ENV === 'dev') {
this.logger.warn('DEV mode: clearing DB');
await this.DEVonlyClearDB();
// await this.DEVonlyClearDB();
}

PrismaService.hasBeenInitialized = true;
Expand Down

0 comments on commit 29bad33

Please sign in to comment.