Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
HTML report will now render stacktrace, if any (#156)
Browse files Browse the repository at this point in the history
* HTML report will now render stacktrace, if any
  • Loading branch information
jonas-m- authored and yunikkk committed Oct 9, 2018
1 parent a4cb419 commit b0c12ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions html-report/src/components/TestItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export default class TestItem extends Component {
}) }
</ul>
</div>}

{ !!data.stacktrace.length && <div className="card">
<div className="title-common">Stacktrace</div>
<pre className="row" style={ { overflow: 'auto' } }>{ data.stacktrace }</pre>
</div>}
</div>
</div>
);
Expand Down

0 comments on commit b0c12ea

Please sign in to comment.