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" />);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user