mirror of
https://gitea.com/actions/checkout.git
synced 2026-12-04 09:59:08 +08:00
Format unsafe PR checkout tests
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
dc7694f54c
commit
6c4a0b7077
1 file changed
+3
-3
@@ -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(() => {
|
||||
|
||||
Reference in new issue
Block a user