Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T12:33:53.000Z (4 months ago)
- Last Synced: 2024-10-12T02:29:15.939Z (about 1 month ago)
- Topics: drizzle-orm, pglite, testing, vitest
- Language: TypeScript
- Homepage: https://stackblitz.com/~/github.com/rphlmr/drizzle-vitest-pg
- Size: 50.8 KB
- Stars: 6
- 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
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/rphlmr/drizzle-vitest-pg)