Cleanup.
This commit is contained in:
parent
e0243b495c
commit
867d68d429
|
@ -226,13 +226,6 @@ class TestConfiguration {
|
|||
}
|
||||
|
||||
return () => {
|
||||
for (const key in newEnvVars) {
|
||||
// @ts-ignore
|
||||
delete env[key]
|
||||
// @ts-ignore
|
||||
delete coreEnv[key]
|
||||
}
|
||||
|
||||
for (const [key, value] of Object.entries(oldEnv)) {
|
||||
env._set(key, value)
|
||||
}
|
||||
|
|
|
@ -265,13 +265,6 @@ class TestConfiguration {
|
|||
}
|
||||
|
||||
return () => {
|
||||
for (const key in newEnvVars) {
|
||||
// @ts-ignore
|
||||
delete env[key]
|
||||
// @ts-ignore
|
||||
delete coreEnv[key]
|
||||
}
|
||||
|
||||
for (const [key, value] of Object.entries(oldEnv)) {
|
||||
env._set(key, value)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue