From d164b6304f0029dffb4129c71c6c06e3d9bb2a86 Mon Sep 17 00:00:00 2001 From: hampus-andersson-op Date: Thu, 18 Apr 2024 11:36:37 +0200 Subject: [PATCH] Fix test --- tests/branchprotection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/branchprotection.test.ts b/tests/branchprotection.test.ts index bf8ce91a..af4d19b9 100644 --- a/tests/branchprotection.test.ts +++ b/tests/branchprotection.test.ts @@ -73,7 +73,7 @@ describe('BranchProtectionService', () => { }); await BranchProtectionService.getStateOfBranchProtection(); - expect(warningStub.called).to.be.true; + expect(warningStub.called).to.be.false; expect(exportVariableStub.calledWith('numberOfReviewers', 0)).to.be.true; }); });