Skip to content

Commit 552191c

Browse files
committed
fix: lint
1 parent dc37768 commit 552191c

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

‎packages/app/src/components/__tests__/DBRowSidePanel.browserEvent.test.tsx‎

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,10 @@ jest.mock('@/useFormatTime', () => ({
106106
// Imported after the mock factories above.
107107
import { DBRowSidePanelInner } from '@/components/DBRowSidePanel';
108108
import useSidePanelStack from '@/hooks/useSidePanelStack';
109+
import { makeLogSource, makeTraceSource } from '@/llm/__fixtures__/sources';
109110

110-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
111-
const LOG_SOURCE = {
112-
id: 'log-src',
113-
kind: 'log',
114-
eventAttributesExpression: 'LogAttributes',
115-
} as TSource;
116-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
117-
const TRACE_SOURCE = {
118-
id: 'trace-src',
119-
kind: 'trace',
120-
eventAttributesExpression: 'SpanAttributes',
121-
} as TSource;
111+
const LOG_SOURCE = makeLogSource();
112+
const TRACE_SOURCE = makeTraceSource();
122113

123114
function Harness({ source }: { source: TSource }) {
124115
const sidePanelStack = useSidePanelStack({ initialRowId: 'row-1' });

0 commit comments

Comments
 (0)