Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ restoreEnv
Function
restoreEnv
src/services/api/usage.test.ts:64–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
}
63
64
function
restoreEnv(): void {
65
for
(
const
key of envKeys) {
66
restoreEnvVar(key, originalEnv[key])
67
}
68
}
69
70
function
setStableTestRuntime(): void {
71
process.env.NODE_ENV =
'development'
Callers
1
usage.test.ts
File · 0.70
Calls
1
restoreEnvVar
Function · 0.70
Tested by
no test coverage detected