Cloudflare DevelopersCD
Cloudflare Developers3y ago
3 replies
Larry

I m using miniflare with vitest and

I'm using miniflare with vitest and noticed that it doesn't inject crypto into the env that gets passed to a durable object. I have a work-around where I inject it in my test but it's boilerplate for all tests and I'm wondering if there some way to make it do this via vitest.config.ts?
Was this page helpful?