Fix TS errors: relax bullmq import typing, adjust job loader, and cast chart mock as any
This commit is contained in:
@@ -28,7 +28,7 @@ describe("TradingViewChart", () => {
|
||||
timeScale: () => ({ applyOptions: vi.fn(), fitContent: vi.fn() }),
|
||||
addSeries: vi.fn(() => mockSeries),
|
||||
remove: vi.fn(),
|
||||
});
|
||||
} as any);
|
||||
});
|
||||
|
||||
it("renders the ticker symbol as heading", () => {
|
||||
@@ -77,7 +77,7 @@ describe("TradingViewChart", () => {
|
||||
timeScale: () => ({ applyOptions: vi.fn(), fitContent: vi.fn() }),
|
||||
addSeries: mockAddSeries,
|
||||
remove: vi.fn(),
|
||||
});
|
||||
} as any);
|
||||
|
||||
render(<TradingViewChart ticker="TEST" />);
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import pkg from "bullmq";
|
||||
const { Queue, Worker, QueueScheduler } = pkg;
|
||||
const { Queue, Worker, QueueScheduler } = pkg as any;
|
||||
import IORedis from "ioredis";
|
||||
import { OpenRouterClient } from "./openrouter";
|
||||
import { TradingGraph } from "../agents/tradingGraph";
|
||||
|
||||
Reference in New Issue
Block a user