diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2025-11-03 13:08:38 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 13:08:38 -0600 |
| commit | ff20ae9cd9d5fc6ce99d108d89ea013d4c12f489 (patch) | |
| tree | d75c06690a2192c6fdeacc5da6222a0683ab81d6 /__test__/git-directory-helper.test.ts | |
| parent | 33f3caae0058b205c722b2415877b66f0b33d1d9 (diff) | |
Persist creds to a separate file (#2286)
Diffstat (limited to '__test__/git-directory-helper.test.ts')
| -rw-r--r-- | __test__/git-directory-helper.test.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/__test__/git-directory-helper.test.ts b/__test__/git-directory-helper.test.ts index 22e9ae6..de79dc8 100644 --- a/__test__/git-directory-helper.test.ts +++ b/__test__/git-directory-helper.test.ts @@ -471,6 +471,7 @@ async function setup(testName: string): Promise<void> { configExists: jest.fn(), fetch: jest.fn(), getDefaultBranch: jest.fn(), + getSubmoduleConfigPaths: jest.fn(async () => []), getWorkingDirectory: jest.fn(() => repositoryPath), init: jest.fn(), isDetached: jest.fn(), @@ -493,12 +494,15 @@ async function setup(testName: string): Promise<void> { return true }), tryConfigUnset: jest.fn(), + tryConfigUnsetValue: jest.fn(), tryDisableAutomaticGarbageCollection: jest.fn(), tryGetFetchUrl: jest.fn(async () => { // Sanity check - this function shouldn't be called when the .git directory doesn't exist await fs.promises.stat(path.join(repositoryPath, '.git')) return repositoryUrl }), + tryGetConfigValues: jest.fn(), + tryGetConfigKeys: jest.fn(), tryReset: jest.fn(async () => { return true }), |
