1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-04-22 16:06:35 +02:00

fix default branch for .wiki and when using ssh (#284)

This commit is contained in:
eric sciple 2020-06-18 10:20:33 -04:00 committed by GitHub
parent b4483adec3
commit fb6f360df2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 126 additions and 29 deletions

View file

@ -714,6 +714,7 @@ async function setup(testName: string): Promise<void> {
),
env: {},
fetch: jest.fn(),
getDefaultBranch: jest.fn(),
getWorkingDirectory: jest.fn(() => workspace),
init: jest.fn(),
isDetached: jest.fn(),

View file

@ -408,6 +408,7 @@ async function setup(testName: string): Promise<void> {
config: jest.fn(),
configExists: jest.fn(),
fetch: jest.fn(),
getDefaultBranch: jest.fn(),
getWorkingDirectory: jest.fn(() => repositoryPath),
init: jest.fn(),
isDetached: jest.fn(),