mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
test(opencode2): cover setup event bridge
This commit is contained in:
@@ -188,7 +188,6 @@ describe('OpenCode 2 setup and prompt ordering', () => {
|
||||
({ body }) => (body.payload as Record<string, unknown>)?.hook_event_name
|
||||
)
|
||||
expect(names).toEqual(expect.arrayContaining(['PermissionRequest', 'MessagePart']))
|
||||
expect(posts.some(({ body }) => JSON.stringify(body).includes('form-1'))).toBe(true)
|
||||
})
|
||||
await cleanup?.()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user