kirjs / react-highcharts

React wrapper for Highcharts library

Home Page:http://kirjs.github.io/react-highcharts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing components containing highcharts with react-testing-library throws InvalidCharacterErrror

Jerczu opened this issue · comments

commented

Has anyone come across it? Is there a way I can mock out react-highcharts?

I keep receiving
InvalidCharacterError:
<div filled="f" stroked="f" style="position: absolute;left:0;top:0;width:1px;height:1px;visibility: hidden"/>"
did not match the Name production: Unexpected syntax in top Line 1:
<div filled="f" stroked="f" style="position: absolute;left:0;top:0;width:1px;height:1px;visibility: hidden"/>

Closing and there has been no activity for a while, if this is still the case, please feel free to reopen