Is anybody aware of this issue? Trying to use d1-dialect causes my tests to fail with- ```TypeError

Is anybody aware of this issue? Trying to use d1-dialect causes my tests to fail with-
TypeError: Cannot use require() to import an ES Module.
https://github.com/aidenwallis/kysely-d1/issues/27 . Please help.
GitHub
Initializing D1Dialect causes my tests to not run as expected. private async initializeDb(db: D1Database) { this.db = new Kysely<Database>({ dialect: new D1Dialect({ database: db }), }); } Ha...
Using D1Dialect causes worker tests to fail - Cannot use require() ...
Was this page helpful?