Skip to content

Commit

Permalink
test: more git test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushong committed Sep 29, 2023
1 parent 5b09c1b commit 16cd2d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ async function setupLocalDir2(ghDir) {
path.join(tmpDir, 'feature-test-local2-XXXXXXX')
);
const git = simpleGit(dir).silent(true);
await git.addConfig('user.name', 'Tester');
await git.addConfig('user.email', '[email protected]');
await git.clone(ghDir, dir);
return [dir, git];
}
Expand Down

0 comments on commit 16cd2d6

Please sign in to comment.