The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(conversations): add test for ToolTimelineAdapter component
Steven Enamakel98671febbe39
diff --git a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsxindex 8fc45180ea..54f98fd74a 100644--- a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx+++ b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx@@ -1,9 +1,17 @@import { fireEvent, render, screen, within } from '@testing-library/react';+import { Provider } from 'react-redux';import { describe, expect, it, vi } from 'vitest';+import { store } from '../../../store';import type { ToolTimelineEntry } from '../../../store/chatRuntimeSlice';import { ToolTimelineAdapter } from './ToolTimelineAdapter';+// `WorkerThreadRefCard` (rendered for a `[worker_thread_ref]` envelope) reads+// through `useAppDispatch`, so those cases render inside a real store.+function renderInStore(ui: React.ReactNode) {+ return render(<Provider store={store}>{ui}</Provider>);+}+/*** Ports the meaningful behavior coverage from the deleted* `components/__tests__/ToolTimelineBlock.test.tsx` onto the vendored