Skip to content

Commit 838952c

Browse files
authored
Update eng/tools/repo-health-status-report/test/urlHelpers.spec.ts
1 parent c328ddf commit 838952c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eng/tools/repo-health-status-report/test/urlHelpers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe("urlHelpers", () => {
1313
describe("buildUrl", () => {
1414
it("should return the correct build URL", () => {
1515
const pipelineId = 2470;
16-
const expectedUrl = `https://dev.azure.com/azure-sdk/internal/_apis/build/builds?definitions=${pipelineId}&$top=1&queryOrder=finishTimeDescending&reasonFilter=schedule&api-version=7.0`;
16+
const expectedUrl = `https://dev.azure.com/azure-sdk/internal/_apis/build/builds?definitions=${pipelineId}&branchName=refs/heads/main&$top=1&queryOrder=finishTimeDescending&reasonFilter=schedule&api-version=7.0`;
1717
assert.equal(buildUrl(pipelineId), expectedUrl);
1818
console.log(buildUrl(pipelineId));
1919
});

0 commit comments

Comments
 (0)