Fix CI test drift after runtime changes (#5655)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-06-17 18:04:12 -07:00
committed by GitHub
co-authored by Orca
parent 3eb0dbdd55
commit 9e8c71d130
8 changed files with 52 additions and 17 deletions
+2 -8
View File
@@ -1648,10 +1648,7 @@ describe('getPRForBranch', () => {
}
})
})
gitExecFileAsyncMock.mockResolvedValueOnce({
stdout: 'git@github.com:stablyai/orca.git\n',
stderr: ''
})
getRemoteUrlForRepoMock.mockResolvedValueOnce('git@github.com:stablyai/orca.git')
const target = await getPullRequestPushTarget('/repo-root', 1738)
@@ -1685,10 +1682,7 @@ describe('getPRForBranch', () => {
}
})
})
gitExecFileAsyncMock.mockResolvedValueOnce({
stdout: 'git@github.com:stablyai/orca.git\n',
stderr: ''
})
getRemoteUrlForRepoMock.mockResolvedValueOnce('git@github.com:stablyai/orca.git')
await expect(getPullRequestPushTarget('/repo-root', 1738)).resolves.toEqual({
pushTarget: {