Owen Evans

Results 2 comments of Owen Evans

Thank you @mterrel and @spanwair for the mock examples, these have worked for me! However I am using [vitest](https://vitest.dev/), so here's my mock setup if it's of use to anyone....

It seems: > Vite doesn't load .env files by default So I needed to follow Vite's guide on how to use [Environment variables within their config file](https://main.vitejs.dev/config/#using-environment-variables-in-config) Not sure if...