Skip to content

Commit 280ee49

Browse files
committed
fix(control-plane): generate prisma client before db tests
1 parent 4a9b0e9 commit 280ee49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control-plane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"db:generate": "PRISMA_GENERATE_ALLOW_NO_DATABASE_URL=1 prisma generate",
1717
"db:migrate": "prisma migrate deploy",
1818
"db:test:prepare": "node scripts/check-db-test-env.mjs",
19-
"test:db": "pnpm db:test:prepare && CONTROL_PLANE_REQUIRE_DB_TESTS=1 vitest run --config vitest.db.config.ts",
19+
"test:db": "pnpm db:generate && pnpm db:test:prepare && CONTROL_PLANE_REQUIRE_DB_TESTS=1 vitest run --config vitest.db.config.ts",
2020
"dev:api": "tsx watch apps/api/src/main.ts",
2121
"dev:worker": "tsx watch apps/worker/src/main.ts",
2222
"format": "prettier --write .",

0 commit comments

Comments
 (0)