fix webtau sourcecode line highlights update on navigation between failed tests
@@ -29,6 +29,10 @@ class SourceCode extends React.Component {
componentDidMount() {
Prism.highlightAll()
}
+
+ componentDidUpdate() {
+ Prism.highlightAll()
+ }
}
export default SourceCode
\ No newline at end of file
