N
Nuxt2mo ago
jae

Mocking useRuntimeConfig/Environment Variables in Tests

Hey! I'm using vitest and I've tried every which way to be able to customize environment/runtime config values in my test and I'm getting nowhere. Should I even be trying to do this? We use runtime config in components as well as in plugins and it's the plugins that I'm trying to write unit tests for!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server