Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(aui): update ElicitationAdapter test to match new API contract

Steven Enamakelf280e1f5f3c4
diff --git a/app/src/features/conversations/aui/ElicitationAdapter.test.tsx b/app/src/features/conversations/aui/ElicitationAdapter.test.tsx
index 35ea0aa4ba..a780728742 100644
--- a/app/src/features/conversations/aui/ElicitationAdapter.test.tsx
+++ b/app/src/features/conversations/aui/ElicitationAdapter.test.tsx
@@ -36,12 +36,6 @@ describe('ElicitationAdapter', () => {
expect(screen.queryByRole('button', { name: 'Send' })).not.toBeInTheDocument();
});
- it('hides the decline button when onDecline is not supplied', () => {
- render(<ElicitationAdapter server="OpenHuman" message="?" pending onAnswer={vi.fn()} />);
-
- expect(screen.queryByRole('button', { name: 'Decline' })).not.toBeInTheDocument();
- });
-
it('declines when onDecline is supplied and clicked', async () => {
const onDecline = vi.fn();
render(