how to use pglite for e2e test ? #228
Unanswered
elycheikhsmail
asked this question in
Q&A
Replies: 2 comments
-
There is: https://www.npmjs.com/package/kysely-pglite |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @elycheikhsmail PGlite works well for tests, either as you suggest creating an instance in a a before all, or you can even create an instance inside each test. The PGlite test are a good place to look for inspiration: https://github.com/electric-sql/pglite/tree/main/packages/pglite/tests |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'have project nextjs+ts that use postgres via query called kyseyle, and cypress for e2e testing. I ask if possible to use pglite for e2e testing, run migration befor running test ?
Beta Was this translation helpful? Give feedback.
All reactions