π Get real-time stocks from TradingView
TypeScript backtestingbacktesting-trading-strategiesbitcoinchartscryptocryptocurrencyethereumrealtime-stocksstocksstocks-apistocks-pricestradingtradingviewtradingview-apitradingview-indicatortradingview-replaytradingview-scraper
Relax Supertrend description case assertion
copilot-swe-agent[bot]82c4ff195c34
diff --git a/tests/indicators.test.ts b/tests/indicators.test.tsindex d835a03..ec1d575 100644--- a/tests/indicators.test.ts+++ b/tests/indicators.test.ts@@ -10,7 +10,7 @@ describe('Indicators', () => {it('gets Supertrend strategy', async () => {indicators.SuperTrend = await TradingView.getIndicator('STD;Supertrend%Strategy');expect(indicators.SuperTrend).toBeDefined();- expect(indicators.SuperTrend.description).toBe('Supertrend Strategy');+ expect(indicators.SuperTrend.description).toMatch(/^Supertrend strategy$/i);indicators.SuperTrend.setOption('commission_type', 'percent');indicators.SuperTrend.setOption('commission_value', 0);