test(plugins): pin the catalog repo's initial branch in the CLI install test

The test reads the catalog at ref master but created it with plain git init, so
it failed wherever init.defaultBranch is main (e.g. Xcode's git on macOS).
This commit is contained in:
Kelvin Amoaba
2026-11-12 08:49:56 +00:00
parent f70465cf3a
commit 9cf03cbb90
@@ -292,7 +292,7 @@ describe('orca plugin install and update over Git', () => {
const catalog = join(root, 'catalog')
const moved = join(root, 'moved-locale')
await mkdir(catalog, { recursive: true })
await git(catalog, ['init', '--quiet'])
await git(catalog, ['init', '--quiet', '--initial-branch=master'])
const listCatalog = (url: string, tag: string) =>
commitTag(
catalog,