test(opencode2): cover setup event bridge

This commit is contained in:
Neil
2026-09-19 17:16:22 -07:00
parent 4b8fce47b6
commit 8bed18ddb6
@@ -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?.()
})