Skip to content

Commit

Permalink
test: set git identity
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas committed Mar 18, 2021
1 parent f20ff12 commit d101fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fixtures/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exports.init = function () {
process.chdir(tmpDir)

childProcess.execSync('git init --initial-branch=running-unit-tests')
childProcess.execSync('git config user.email "[email protected]"')
childProcess.execSync('git config user.name "Wiby Bot"')

for (const fn of ['package.json', '.wiby.json']) {
fs.copyFileSync(path.join(gitRepoPath, fn), path.join(tmpDir, fn))
Expand Down

0 comments on commit d101fd0

Please sign in to comment.