diff options
| author | Thomas Boop <52323235+thboop@users.noreply.github.com> | 2022-04-14 14:13:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 14:13:20 -0400 |
| commit | 84aef4aeee750b818c5298364848f4ba472c6f41 (patch) | |
| tree | 0658d67c8d9b47337d16073d4f72ab53815d1290 /__test__/git-auth-helper.test.ts | |
| parent | 012cfe073cd6a3e62be7509ec0e8116719433e77 (diff) | |
Enforce safe directory (#762)v3.0.1
* set safe directory when running checkout
* Update CHANGELOG.md
Diffstat (limited to '__test__/git-auth-helper.test.ts')
| -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() |
