From 9ab380a93af034adf39c879ee98e67a005f7de57 Mon Sep 17 00:00:00 2001 From: Mathieu Colmon Date: Tue, 2 Apr 2024 11:57:37 +0200 Subject: [PATCH] Add 'stack_trace' in study error --- tests/allErrors.test.ts | 1 + 1 file changed, 1 insertion(+) 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', ]);