Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# vitest-environment-vprisma
This library improves the experience of testing with vitest and @prisma/client. It allows you to isolate each test case with a transaction and rollback after completion, giving you a safe and clean testing environment.

## Requirements for Prisma 6.x

- Node.js >= 22.19.0
- Vitest (any version)
- Prisma Client 6.x

## Install

```bash
Expand Down
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
},
"devDependencies": {
"jsdom": "^23.0.1",
"prisma": "^5.7.0",
"prisma": "^6.16.1",
"typescript": "^5.3.3",
"vitest": "^1.0.2",
"vitest-environment-vprisma": "1.3.0-beta.1",
"vitest": "^3.2.4",
"vitest-environment-vprisma": "../",
"zx": "^7.2.3"
},
"dependencies": {
"@prisma/client": "^5.7.0"
"@prisma/client": "^6.16.1"
}
}
Loading