jenkins-backend: update PermissionAuthorizer mock in jenkinsApi test suite

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2022-03-08 13:18:24 +00:00
committed by Vincenzo Scamporlino
parent 23646e51a5
commit b831d53972
2 changed files with 6 additions and 0 deletions
@@ -49,6 +49,7 @@ const fakePermissionApi = {
result: AuthorizeResult.ALLOW,
},
]),
policyDecision: jest.fn(),
};
describe('JenkinsApi', () => {