I'm trying to get a SQLite-backed DO to
I'm trying to get a SQLite-backed DO to work locally, but I keep running into this error message when I run my vitest test suite locally:
Here is the relevant snippet from my
wrangler.test.toml
file:
And here is how I'm including it from my Vitest config:
What am I doing wrong here?1 Reply
From reading the workerd source code, I read that setting the
"experimental"
compat option in miniflare also does the trick, although not recommended. I can confirm this works:
However, I'd like to configure it in the preferred way. Can anyone tell me where I need to configure this enableSql: true
setting?