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" />);
|
render(<TradingViewChart ticker="TEST" />);
|
||||||
|
|
||||||
expect(mockAddSeries).toHaveBeenCalledWith(
|
expect(mockAddSeries).toHaveBeenCalledWith(
|
||||||
{},
|
expect.anything(),
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
upColor: "#26a69a",
|
upColor: "#26a69a",
|
||||||
downColor: "#ef5350",
|
downColor: "#ef5350",
|
||||||
|
|||||||
Reference in New Issue
Block a user