MCPcopy Create free account
hub / github.com/backnotprop/plannotator / clearEnv

Function clearEnv

packages/server/remote.test.ts:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12const envKeys = ["PLANNOTATOR_REMOTE", "PLANNOTATOR_PORT", "SSH_TTY", "SSH_CONNECTION"];
13
14function clearEnv() {
15 for (const key of envKeys) {
16 savedEnv[key] = process.env[key];
17 delete process.env[key];
18 }
19}
20
21afterEach(() => {
22 for (const key of envKeys) {

Callers 1

remote.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected