Skip to content

Commit

Permalink
Add author info
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpprieto committed Nov 20, 2023
1 parent 61ee8bc commit 746d6af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cli/src/commands/hydrogen/upgrade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ async function inTemporaryHydrogenRepo(
expect(await fileExists(joinPath(tmpDir, '/.git/config'))).toBeTruthy();

if (cleanGitRepo) {
await execa('git', [
'config',
'--global user.email',
'"[email protected]"',
]);
await execa('git', ['config', '--global user.name', '"Hydrogen Test"']);
await execa('git', ['add', 'package.json'], {cwd: tmpDir});
await execa('git', ['commit', '-m', 'initial commit'], {cwd: tmpDir});
}
Expand Down

0 comments on commit 746d6af

Please sign in to comment.