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 advance1 Reply
Help needed.. Error on testing