mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
test: remove 10 low-value suites and 130 individual cases (#36672)
* test: remove low-value suites and cases * test: shrink two stale flaky-pattern baseline counts
This commit is contained in:
@@ -177,23 +177,6 @@ describe('OpenCode plugin background child completion', () => {
|
||||
expect(posts.at(-1)?.sessionID).toBe('root')
|
||||
})
|
||||
|
||||
it('retires a background child through an Idle whose ancestry cannot be resolved', async () => {
|
||||
let resolvable = true
|
||||
const hooks = await createHooks([], async () =>
|
||||
resolvable ? { data: TASK_TREE } : Promise.reject(new Error('sdk outage'))
|
||||
)
|
||||
|
||||
await hooks.event({ event: status('busy', 'root') })
|
||||
await hooks.event({ event: status('busy', 'child') })
|
||||
await hooks.event({ event: status('idle', 'root') })
|
||||
expect(names()).not.toContain('SessionIdle')
|
||||
|
||||
resolvable = false
|
||||
await hooks.event({ event: status('idle', 'child') })
|
||||
|
||||
expect(names()).toEqual(['SessionBusy', 'SessionIdle'])
|
||||
})
|
||||
|
||||
it('drops a disposed factory background child instead of pinning the pane', async () => {
|
||||
const first = await createHooks(TASK_TREE)
|
||||
const second = await createHooks(TASK_TREE)
|
||||
|
||||
Reference in New Issue
Block a user