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

Commit b0c12ea

Browse files
jonas-m-yunikkk
authored andcommitted
HTML report will now render stacktrace, if any (#156)
* HTML report will now render stacktrace, if any
1 parent a4cb419 commit b0c12ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

html-report/src/components/TestItem.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ export default class TestItem extends Component {
6565
}) }
6666
</ul>
6767
</div>}
68+
69+
{ !!data.stacktrace.length && <div className="card">
70+
<div className="title-common">Stacktrace</div>
71+
<pre className="row" style={ { overflow: 'auto' } }>{ data.stacktrace }</pre>
72+
</div>}
6873
</div>
6974
</div>
7075
);

0 commit comments

Comments
 (0)