Skip to content

πŸ“ˆ Get real-time stocks from TradingView

Add 'stack_trace' in study error

Mathieu Colmon9ab380a93af0
diff --git a/tests/allErrors.test.ts b/tests/allErrors.test.ts
index 49f16c2..90ef76a 100644
--- a/tests/allErrors.test.ts
+++ b/tests/allErrors.test.ts
@@ -180,6 +180,7 @@ describe('AllErrors', () => {
funName: '\'supertrend\'',
},
error: 'Error on bar {bar_index}: Invalid value of the \'{nameInvalidValue}\' argument ({length}) in the \'{funName}\' function. It must be {operation} 0.',
+ stack_trace: [{ n: '#main', p: 7 }],
},
'undefined',
]);