test(e2e): use predictable branch name in proxy backend tests (#5131)

This commit is contained in:
Erez Rokah
2021-03-18 13:31:59 +01:00
committed by GitHub
parent 560f17d8bd
commit ea22e679b6
4 changed files with 95 additions and 101 deletions

View File

@ -9,7 +9,7 @@ const initRepo = async dir => {
await fs.remove(dir);
await fs.mkdirp(dir);
const git = getGitClient(dir);
await git.init();
await git.init({ '--initial-branch': 'main' });
await git.addConfig('user.email', 'cms-cypress-test@netlify.com');
await git.addConfig('user.name', 'cms-cypress-test');