I am attempting to write unit tests for a React component that includes a wrapper for a KendoUI chart. For testing, I am using jsdom so I can write an isolated unit test for each component. When I attempt to render the component into the jsdom document, I'm getting the following exception:
I'm attaching a zip file with the component and test. To run (assuming you have nodejs installed):
- unzip the file
- from a command prompt cd to the project directory
- run "npm install"
- run "npm run test"
Thanks in advance for any help!