Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
server-side environment variable in jest - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
1 reply
sliprose
server-side environment variable in jest
I
'm testing a function that
's it used in getStaticPaths with jest
And
@t3
-oss
/env
-nextjs tell me that I can
't because I
'm not in a server
-side
What do you recommend
?
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
uploadthing in a server side environment
TTC
Theo's Typesafe Cult / questions
2y ago
❌ Attempted to access a server-side environment variable on the client
TTC
Theo's Typesafe Cult / questions
3y ago
Attempted to access server-side environment variable 'NODE_ENV' on the client Error
TTC
Theo's Typesafe Cult / questions
3y ago
❌ Attempted to access a server-side environment variable on the client get's thrown in db.ts
TTC
Theo's Typesafe Cult / questions
3y ago