WaspW
Wasp14mo ago
JakeLoew

Is there a way to inject env variables into wasp testing?

I have code that throws an error if a value from .env.server is not present. This code runs on the server.
I can do something like MY_SECRET=abc123 wasp client test run, but I'm wondering if there's a way to do it within the wasp api.
Was this page helpful?