diff options
| author | Cory Miller <13227161+cory-miller@users.noreply.github.com> | 2024-04-24 12:04:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 12:04:10 -0400 |
| commit | 77eabb37dbe5cc705ca71a065bc5b19443b802dd (patch) | |
| tree | 5debd944e8396fc3c708d1252d7d26c1400c2b10 /__test__/git-auth-helper.test.ts | |
| parent | 92d604f0b71b629ce5b6949f8e3a3e9f1c17bad9 (diff) | |
Update NPM dependencies (#1703)
* Update dependencies manually
* Format files
* Update licenses
Diffstat (limited to '__test__/git-auth-helper.test.ts')
| -rw-r--r-- | __test__/git-auth-helper.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts index 694c0ba..7633704 100644 --- a/__test__/git-auth-helper.test.ts +++ b/__test__/git-auth-helper.test.ts @@ -169,8 +169,9 @@ describe('git-auth-helper tests', () => { // Mock fs.promises.readFile const realReadFile = fs.promises.readFile - jest.spyOn(fs.promises, 'readFile').mockImplementation( - async (file: any, options: any): Promise<Buffer> => { + jest + .spyOn(fs.promises, 'readFile') + .mockImplementation(async (file: any, options: any): Promise<Buffer> => { const userKnownHostsPath = path.join( os.homedir(), '.ssh', @@ -181,8 +182,7 @@ describe('git-auth-helper tests', () => { } return await realReadFile(file, options) - } - ) + }) // Act const authHelper = gitAuthHelper.createAuthHelper(git, settings) |
