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!
1 replies