File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class ReporterTestAdapter implements ReporterTestResult {
1515
1616 constructor ( testResult : ReporterTestResult ) {
1717 this . _testResult = testResult ;
18- this . _errorDetails = null ;
18+ this . _errorDetails = this . _testResult . errorDetails || null ;
1919 }
2020
2121 get attempt ( ) : number {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import {ReporterTestResult} from '../index';
22import _ from 'lodash' ;
33import { BaseTreeTestResult } from '../../../tests-tree-builder/base' ;
44import { DbTestResultTransformer } from './db' ;
5- import { extractErrorDetails } from '../utils' ;
65
76interface Options {
87 baseHost ?: string ;
@@ -21,7 +20,7 @@ export class TreeTestResultTransformer {
2120 return {
2221 ..._ . omit ( result , 'imagesInfo' ) ,
2322 attempt : testResult . attempt ,
24- errorDetails : extractErrorDetails ( testResult )
23+ errorDetails : testResult . errorDetails
2524 } ;
2625 }
2726}
You can’t perform that action at this time.
0 commit comments