https://github.com/rphlmr/drizzle-vitest-pg
How to use Drizzle & PGLite with Vitest
https://github.com/rphlmr/drizzle-vitest-pg
drizzle-orm pglite testing vitest
Last synced: 2 months ago
JSON representation
How to use Drizzle & PGLite with Vitest
- Host: GitHub
- URL: https://github.com/rphlmr/drizzle-vitest-pg
- Owner: rphlmr
- Created: 2024-07-08T12:07:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T12:33:53.000Z (over 1 year ago)
- Last Synced: 2025-04-14T11:05:44.908Z (6 months ago)
- Topics: drizzle-orm, pglite, testing, vitest
- Language: TypeScript
- Homepage: https://stackblitz.com/~/github.com/rphlmr/drizzle-vitest-pg
- Size: 50.8 KB
- Stars: 26
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drizzle PGLite Vitest Demo
This demo shows how to use Vitest with Drizzle & PGLite.
No Drizzle mock is required, just use the real thing and swap out your Postgres server for a PGLite instance.
Run `npm test`
Learn more at https://vitest.dev and https://orm.drizzle.team/docs/overview
[](https://stackblitz.com/github/rphlmr/drizzle-vitest-pg)