mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
build: recompile production code
This commit is contained in:
parent
70db77d88c
commit
10d304d4fb
1 changed files with 1 additions and 1 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -1358,7 +1358,7 @@ class JestJunitParser {
|
||||||
if (!this.options.parseErrors || !tc.failure) {
|
if (!this.options.parseErrors || !tc.failure) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
const details = tc.failure[0];
|
const details = typeof tc.failure[0] === 'string' ? tc.failure[0] : tc.failure[0]['_'];
|
||||||
let path;
|
let path;
|
||||||
let line;
|
let line;
|
||||||
const src = (0, node_utils_1.getExceptionSource)(details, this.options.trackedFiles, file => this.getRelativePath(file));
|
const src = (0, node_utils_1.getExceptionSource)(details, this.options.trackedFiles, file => this.getRelativePath(file));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue