From 871a591640533b2f87455118143fb2ff0279bd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Tue, 3 Oct 2023 14:02:25 +0200 Subject: [PATCH] refactor project --- 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 986491da..df5306b4 100644 --- a/tests/branchprotection.test.ts +++ b/tests/branchprotection.test.ts @@ -66,7 +66,7 @@ describe('BranchProtectionService', () => { getOctokitStub.returns({ rest: { repos: { - getBranchProtection: sinon.stub().resolves({ + getBranchProtection: sinon.stub().rejects({ status: 403, }), },