diff --git a/src/services/azure/testRun.ts b/src/services/azure/testRun.ts index 91046df..07b1cae 100644 --- a/src/services/azure/testRun.ts +++ b/src/services/azure/testRun.ts @@ -71,5 +71,6 @@ export async function getLastTestRunId( throw new Error() } + testRun.sort((a, b) => a.id - b.id) return testRun[testRun.length - 1].id }