mirror of https://github.com/aminya/setup-cpp
Revert "test: restore the environment before each msvc test"
This reverts commit 95f4f7daa1
.
This commit is contained in:
parent
1da5fb1680
commit
8046f31712
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue