diff --git a/test/integration/__utils__/withGitIntegration.js b/test/integration/__utils__/withGitIntegration.js index 670940fc4..ff487ea14 100644 --- a/test/integration/__utils__/withGitIntegration.js +++ b/test/integration/__utils__/withGitIntegration.js @@ -81,6 +81,9 @@ export const withGitIntegration = // Init repository with initial commit await utils.execGit('init') + // Rename default main branch to master for tests to pass on local environment + await utils.execGit(['branch', '-m', 'main', 'master']) + if (isWindowsActions()) { await utils.execGit(['config', 'core.autocrlf', 'input']) }