Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to inject env variables into wasp testing? - Wasp
W
Wasp
•
16mo ago
•
14 replies
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
.env.server
is not present
. This code runs on the server
.
I can do something like
MY_SECRET=abc123 wasp client test run
MY_SECRET=abc123 wasp client test run
, but I
'm wondering if there
's a way to do it within the wasp api
.
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Wasp is not updating the .env variables.
W
Wasp / 🙋questions
5mo ago
How to use Env variables in main.wasp?
W
Wasp / 🙋questions
2y ago
Is there a way to style .wasp files in JetBrains products?
W
Wasp / 🙋questions
16mo ago
Is there a way to test run a job with a command in wasp?
W
Wasp / 🙋questions
2y ago