Error on running tests

Hey guys, I am getting this error when running test with vitest. I have set the new_sqlite_classes in migrations but still get this error. I would like to know where exactly to set enableSql = true ? -> To enable it, set enableSql = true in your workerd config for the class. If using wrangler, under [[migrations]] in wrangler.toml, change new_classes to new_sqlite_classes. Note that this change cannot be made after the class is already deployed to production. Thanks in advance
2 Replies
Suman!
Suman!OP5mo ago
Help needed.. Error on testing
Vincent
Vincent2w ago
Hi @Suman! Late to the party… but I also asked about this here, and I found a workaround by setting the compatibility flag "experimental" for now (which is NOT recommended, but works ¯\_(ツ)_/¯ ). Did you figure this out in the end?

Did you find this page helpful?