Merge pull request #12727 from backstage/blam/windowz

chore: fix some gerrit tests in windows mainline
This commit is contained in:
Ben Lambert
2022-07-19 14:12:37 +02:00
committed by GitHub
@@ -213,7 +213,7 @@ describe('publish:gerrit', () => {
});
expect(initRepoAndPush).toHaveBeenCalledWith({
dir: `${mockContext.workspacePath}/repository/`,
dir: `${mockContext.workspacePath}${path.sep}repository${path.sep}`,
remoteUrl: 'https://gerrithost.org/a/repo',
defaultBranch: 'master',
auth: { username: 'gerrituser', password: 'usertoken' },