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."); }, );