https://github.com/codepunkt/vitest-environment-prisma-postgres
Vitest environment for Prisma & PostgreSQL designed for fast integration tests: seed your database once with production-like data, then run each test in a transaction that is rolled back after execution. Tests remain isolated without expensive reseeding.
https://github.com/codepunkt/vitest-environment-prisma-postgres
database javascript nodejs orm performance postgres postgresql prisma prisma-client seed seeding testing transaction transactions typescript vitest
Last synced: 3 months ago
JSON representation
Vitest environment for Prisma & PostgreSQL designed for fast integration tests: seed your database once with production-like data, then run each test in a transaction that is rolled back after execution. Tests remain isolated without expensive reseeding.
- Host: GitHub
- URL: https://github.com/codepunkt/vitest-environment-prisma-postgres
- Owner: codepunkt
- License: mit
- Created: 2025-11-27T13:04:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-01-07T00:48:10.000Z (4 months ago)
- Last Synced: 2026-01-09T03:54:11.214Z (4 months ago)
- Topics: database, javascript, nodejs, orm, performance, postgres, postgresql, prisma, prisma-client, seed, seeding, testing, transaction, transactions, typescript, vitest
- Language: TypeScript
- Homepage:
- Size: 151 KB
- Stars: 32
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md