(key: string, value: string | undefined)
| 11 | const originalNoumenaPlatformBaseUrl = process.env.NOUMENA_PLATFORM_BASE_URL |
| 12 | |
| 13 | function restoreEnvVar(key: string, value: string | undefined): void { |
| 14 | if (value === undefined) { |
| 15 | delete process.env[key] |
| 16 | } else { |
| 17 | process.env[key] = value |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | function resetCallsAndEnv(): void { |
| 22 | axiosGetCalls.length = 0 |
no outgoing calls
no test coverage detected