diff --git a/plugins/azure-devops-backend/src/utils/azure-devops-utils.test.ts b/plugins/azure-devops-backend/src/utils/azure-devops-utils.test.ts index ba288dad95..355919dc55 100644 --- a/plugins/azure-devops-backend/src/utils/azure-devops-utils.test.ts +++ b/plugins/azure-devops-backend/src/utils/azure-devops-utils.test.ts @@ -281,14 +281,16 @@ describe('replaceReadme', () => { describe('buildEncodedUrl', () => { it('should not encode the colon between host and port', async () => { - const result = await buildEncodedUrl( + const result = await buildEncodedUrl( 'tfs.myorg.com:8443', 'org', 'project', 'repo', - 'path' + 'path', + ); + + expect(result).toBe( + 'https://tfs.myorg.com:8443/org/project/_git/repo?path=path', ); - - expect(result).toBe('https://tfs.myorg.com:8443/org/project/_git/repo?path=path'); }); });