mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 01:47:24 +00:00
test: remove low-value VM, mobile, work-item and terminal suites (#40376)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -17,15 +17,4 @@ describe('resolvePRBranchFallback', () => {
|
||||
expect(fallback).toEqual({ fallbackPRNumber: null, fallbackPRSource: null })
|
||||
expect(shouldAcceptMergedFallbackPR({ linkedPRNumber: null, ...fallback })).toBe(false)
|
||||
})
|
||||
|
||||
it('falls back to a cached open PR with merged fallbacks accepted', () => {
|
||||
const fallback = resolvePRBranchFallback({
|
||||
linkedPRNumber: null,
|
||||
cachedPR: { number: 41, state: 'open', headSha: 'old-head' },
|
||||
hintPRNumber: 7,
|
||||
currentHeadOid: 'new-head'
|
||||
})
|
||||
expect(fallback).toEqual({ fallbackPRNumber: 41, fallbackPRSource: 'pr-cache' })
|
||||
expect(shouldAcceptMergedFallbackPR({ linkedPRNumber: null, ...fallback })).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user