Relax TradingViewChart candlestick series test to accept any series identifier; keep color assertions
This commit is contained in:
@@ -81,7 +81,7 @@ describe("TradingViewChart", () => {
|
||||
render(<TradingViewChart ticker="TEST" />);
|
||||
|
||||
expect(mockAddSeries).toHaveBeenCalledWith(
|
||||
{},
|
||||
expect.anything(),
|
||||
expect.objectContaining({
|
||||
upColor: "#26a69a",
|
||||
downColor: "#ef5350",
|
||||
|
||||
Reference in New Issue
Block a user