Skip to content

Commit

Permalink
fix: make pglite compatible with @jest-environment: node (#424)
Browse files Browse the repository at this point in the history
* Make pglite compatible with @jest-environment: node

* Add changeset

---------

Co-authored-by: Ethan Reesor <[email protected]>
  • Loading branch information
samwillis and firelizzard18 authored Nov 14, 2024
1 parent 75f9f6d commit df5c290
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gentle-olives-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@electric-sql/pglite': patch
---

Make pglite compatible with @jest-environment: node
2 changes: 1 addition & 1 deletion packages/pglite/src/postgresMod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PostgresModFactory from '../release/postgres.js'
import PostgresModFactory from '../release/postgres'

type IDBFS = Emscripten.FileSystemType & {
quit: () => void
Expand Down

0 comments on commit df5c290

Please sign in to comment.