Format unsafe PR checkout tests

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Francesco Renzi
2026-12-03 18:06:31 +01:00
parent d2c34fd6af
commit 57c9bdfe25

View File

@@ -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(() => {