Revert "test: restore the environment before each msvc test"

This reverts commit 95f4f7daa1.
This commit is contained in:
Amin Yahyaabadi 2021-12-06 04:31:53 -06:00
parent 1da5fb1680
commit 8046f31712
1 changed files with 0 additions and 6 deletions

View File

@ -2,14 +2,8 @@ import which from "which"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { setupMSVC } from "../msvc" import { setupMSVC } from "../msvc"
const initial_env = { ...process.env }
jest.setTimeout(300000) jest.setTimeout(300000)
describe("setup-msvc", () => { describe("setup-msvc", () => {
beforeEach(() => {
process.env = initial_env
})
it("should setup msvc 2019", async () => { it("should setup msvc 2019", async () => {
if (process.platform !== "win32") { if (process.platform !== "win32") {
return return