diff options
| author | Thomas Boop <52323235+thboop@users.noreply.github.com> | 2022-04-14 12:12:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 12:12:00 -0400 |
| commit | 47d502ed80d427575b8b4f55f7aaeb7572cfe5db (patch) | |
| tree | 1a4af08aa5ad200b1514bcad24384a5af2aae349 /__test__ | |
| parent | f40c30d526f04494da5c7d75de298c31c1dd2abe (diff) | |
Safe Directory v2 update (#764)v2.4.1
* set safe directory when running checkout
Diffstat (limited to '__test__')
| -rw-r--r-- | __test__/git-auth-helper.test.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts index e14e948..80ccbcb 100644 --- a/__test__/git-auth-helper.test.ts +++ b/__test__/git-auth-helper.test.ts @@ -643,10 +643,11 @@ describe('git-auth-helper tests', () => { expect(gitConfigContent.indexOf('http.')).toBeLessThan(0) }) - const removeGlobalAuth_removesOverride = 'removeGlobalAuth removes override' - it(removeGlobalAuth_removesOverride, async () => { + const removeGlobalConfig_removesOverride = + 'removeGlobalConfig removes override' + it(removeGlobalConfig_removesOverride, async () => { // Arrange - await setup(removeGlobalAuth_removesOverride) + await setup(removeGlobalConfig_removesOverride) const authHelper = gitAuthHelper.createAuthHelper(git, settings) await authHelper.configureAuth() await authHelper.configureGlobalAuth() @@ -655,7 +656,7 @@ describe('git-auth-helper tests', () => { await fs.promises.stat(path.join(git.env['HOME'], '.gitconfig')) // Act - await authHelper.removeGlobalAuth() + await authHelper.removeGlobalConfig() // Assert expect(git.env['HOME']).toBeUndefined() |
