From ec82b47d639187b54eb097ff81f49f4337ce7b5f Mon Sep 17 00:00:00 2001 From: Shenglong Li Date: Mon, 4 Nov 2024 15:15:36 -0800 Subject: [PATCH] Skip an MSBuild e2e test in ADO (#15501) Forgot to do this when submitting my Jest -> Vitest migration PR. This fixes a failure in official build. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/15501) --- src/Bicep.MSBuild.E2eTests/src/simpleMultiTargeting.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Bicep.MSBuild.E2eTests/src/simpleMultiTargeting.test.ts b/src/Bicep.MSBuild.E2eTests/src/simpleMultiTargeting.test.ts index 1d7fd2d6a18..85ee2afeb8e 100644 --- a/src/Bicep.MSBuild.E2eTests/src/simpleMultiTargeting.test.ts +++ b/src/Bicep.MSBuild.E2eTests/src/simpleMultiTargeting.test.ts @@ -4,7 +4,9 @@ import { describe, expect, it } from "vitest"; import { Example } from "./example"; -describe("msbuild", () => { +const runningInAzurePipelines = !!process.env.TF_BUILD; + +describe.skipIf(runningInAzurePipelines)("msbuild", () => { it("should build a multi-targeting project with default output paths successfully", () => { const example = new Example("simpleMultiTarget"); example.cleanProjectDir();