From bbe35d89faf1379840728f51bb3839cc4a416dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cpawelkoniecznybh=E2=80=9D?= Date: Mon, 9 Dec 2024 10:52:24 +0100 Subject: [PATCH] fix: fix npm.test with status 1 --- test/test/npm.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/npm.test.ts b/test/test/npm.test.ts index bc2ecfb3..3d4aca6e 100644 --- a/test/test/npm.test.ts +++ b/test/test/npm.test.ts @@ -311,7 +311,7 @@ describe("license-auditor", () => { cwd: testDirectory, }); - expect(errorCode).toBe(0); + expect(errorCode).toBe(1); expect(output).toContain("Unable to resolve project dependencies."); }, );