Skip to content

Commit 5de79c1

Browse files
committed
fix(tests): config temp git user and repo settings
1 parent 31a8423 commit 5de79c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ setup () {
1313
cd "$test_dir"
1414

1515
git init
16+
17+
git branch -m main
18+
git config user.email "[email protected]"
19+
git config user.name "conventional-pre-commit"
20+
1621
pre-commit install --hook-type commit-msg
1722
git add .
1823
}

0 commit comments

Comments
 (0)