Skip to content

Commit 2e37d73

Browse files
committed
ci: Added git user.{name, email} settings
1 parent af3e7f3 commit 2e37d73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/git.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ describe('Client', () => {
4848
fs.mkdirSync(resolve(cwd, 'git-templates'))
4949

5050
exec('git init --template=./git-templates --initial-branch=main')
51+
exec('git config user.name "Tester"')
52+
exec('git config user.email "[email protected]"')
5153

5254
for (let i = 0; i < 20; i++) {
5355
const type = commitTypes[Math.round(Math.random() * (commitTypes.length - 1))]

0 commit comments

Comments
 (0)