From 8046f31712814634a9612faf4e5ac624d2a8592c Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 6 Dec 2021 04:31:53 -0600 Subject: [PATCH] Revert "test: restore the environment before each msvc test" This reverts commit 95f4f7daa131100de387e29f2a4f2833fe258c3f. --- src/msvc/__tests__/msvc.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/msvc/__tests__/msvc.test.ts b/src/msvc/__tests__/msvc.test.ts index deee1f94..7d3f81a2 100644 --- a/src/msvc/__tests__/msvc.test.ts +++ b/src/msvc/__tests__/msvc.test.ts @@ -2,14 +2,8 @@ import which from "which" import { testBin } from "../../utils/tests/test-helpers" import { setupMSVC } from "../msvc" -const initial_env = { ...process.env } - jest.setTimeout(300000) describe("setup-msvc", () => { - beforeEach(() => { - process.env = initial_env - }) - it("should setup msvc 2019", async () => { if (process.platform !== "win32") { return