We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c328ddf commit 838952cCopy full SHA for 838952c
1 file changed
eng/tools/repo-health-status-report/test/urlHelpers.spec.ts
@@ -13,7 +13,7 @@ describe("urlHelpers", () => {
13
describe("buildUrl", () => {
14
it("should return the correct build URL", () => {
15
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`;
+ 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`;
17
assert.equal(buildUrl(pipelineId), expectedUrl);
18
console.log(buildUrl(pipelineId));
19
});
0 commit comments