test: stabilize aggregate coverage waits

This commit is contained in:
Hypatia May
2026-07-30 19:19:35 +08:00
parent 4f61bb536a
commit bf1f06d398
3 changed files with 11 additions and 6 deletions

View File

@@ -3897,8 +3897,9 @@ describe('skill slash command', () => {
source: 'runtime',
content: 'Dynamic body.',
})
await tick()
expect(result.terminal.output).toContain('DYNAMIC_COMPLETION_MARKER')
await vi.waitFor(() => {
expect(result.terminal.output).toContain('DYNAMIC_COMPLETION_MARKER')
})
result.terminal.send('\x03')
disposeSkill()