From 10d304d4fbfa8829fbe4e645416dbeeaf8bea32a Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Wed, 12 Mar 2025 13:14:18 +0100 Subject: [PATCH] build: recompile production code --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index fa45c86..fd169b7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1358,7 +1358,7 @@ class JestJunitParser { if (!this.options.parseErrors || !tc.failure) { return undefined; } - const details = tc.failure[0]; + const details = typeof tc.failure[0] === 'string' ? tc.failure[0] : tc.failure[0]['_']; let path; let line; const src = (0, node_utils_1.getExceptionSource)(details, this.options.trackedFiles, file => this.getRelativePath(file));