{"library":"vitest-environment-prisma-postgres","type":"library","category":null,"description":"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. Current version 1.0.1 requires Prisma 7.x and Vitest 4.x. Provides a custom test environment, setup hooks, and typed configuration. Key differentiator: transaction-rollback isolation without database-level overhead, unlike alternatives that reseed per test.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","vitest","prisma","postgres","prisma orm","postgesql","test","testing","test isolation"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install vitest-environment-prisma-postgres","imports":["export default defineConfig({ test: { environment: 'prisma-postgres' } })","import 'vitest-environment-prisma-postgres/setup'"]},{"cmd":"yarn add vitest-environment-prisma-postgres","imports":[]},{"cmd":"pnpm add vitest-environment-prisma-postgres","imports":[]}],"homepage":"https://github.com/codepunkt/vitest-environment-prisma-postgres#readme","github":"https://github.com/codepunkt/vitest-environment-prisma-postgres","docs":null,"changelog":null,"pypi":null,"npm":"vitest-environment-prisma-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}