From 4684f4e052ca5d99ab70e4c50a3d9e6545bc53a0 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Fri, 20 Oct 2023 09:59:00 +0000 Subject: [PATCH] - don't forward the exit code of the `setFailed` in the test case --- __tests__/process.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/process.test.ts b/__tests__/process.test.ts index bb2f516..4fc672c 100644 --- a/__tests__/process.test.ts +++ b/__tests__/process.test.ts @@ -52,6 +52,7 @@ describe('processDependencyList', () => { ) } catch (error: any) { expect(error.message).toEqual("Failed to execute './gradlew :app:dependencies --configuration non-existing'") + process.exitCode = 0 } })