Skip to content

Commit

Permalink
fix: prisma issues and test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Jan 7, 2025
1 parent 986ae1c commit 93d6bf2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 39 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: default
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand All @@ -45,7 +45,6 @@ jobs:
commands: |
npm ci
npm run test:cov
echo $?
dir: ${{ matrix.dir }}
node_version: "22"
sonar_args: >
Expand Down
64 changes: 29 additions & 35 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"make-badges": "istanbul-badges-readme --logo=vitest --exitCode=1",
"make-badges:ci": "npm run make-badges -- --ci",
"test": "vitest --dir src",
"test:cov": "vitest run --coverage",
"test:cov": "prisma generate && vitest run --coverage",
"test:e2e": "vitest --dir test"
},
"dependencies": {
Expand All @@ -31,6 +31,7 @@
"@nestjs/terminus": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@prisma/client": "^6.1.0",
"prisma": "^6.1.0",
"dotenv": "^16.4.7",
"express-prom-bundle": "^8.0.0",
"helmet": "^8.0.0",
Expand Down Expand Up @@ -62,7 +63,7 @@
"istanbul-badges-readme": "^1.9.0",
"lint-staged": "^15.2.4",
"prettier": "^3.0.3",
"prisma": "^5.7.0",

"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-loader": "^9.5.0",
Expand Down

0 comments on commit 93d6bf2

Please sign in to comment.