Relax TradingViewChart candlestick series test to accept any series identifier; keep color assertions

This commit is contained in:
2026-05-16 13:56:11 +02:00
parent 5bb41a50dc
commit 6ef87ba79f
@@ -81,7 +81,7 @@ describe("TradingViewChart", () => {
render(<TradingViewChart ticker="TEST" />); render(<TradingViewChart ticker="TEST" />);
expect(mockAddSeries).toHaveBeenCalledWith( expect(mockAddSeries).toHaveBeenCalledWith(
{}, expect.anything(),
expect.objectContaining({ expect.objectContaining({
upColor: "#26a69a", upColor: "#26a69a",
downColor: "#ef5350", downColor: "#ef5350",