diff --git a/__test__/unsafe-pr-checkout-helper.test.ts b/__test__/unsafe-pr-checkout-helper.test.ts index 9d53517..241946c 100644 --- a/__test__/unsafe-pr-checkout-helper.test.ts +++ b/__test__/unsafe-pr-checkout-helper.test.ts @@ -72,9 +72,9 @@ describe('unsafe-pr-checkout-helper', () => { owner: 'some-owner', repo: 'some-repo' }) - jest.spyOn(github, 'getOctokit').mockReturnValue( - {rest: {repos: {compareCommitsWithBasehead: mockCompareCommits}}} as any - ) + jest.spyOn(github, 'getOctokit').mockReturnValue({ + rest: {repos: {compareCommitsWithBasehead: mockCompareCommits}} + } as any) }) afterEach(() => {