amitkumarc

Results 2 comments of amitkumarc

The error goes away by mocking the library. https://stackoverflow.com/questions/51957794/jest-typeerror-is-not-a-function-in-jest-mock What I did is: ```javascript import ApexCharts from "apexcharts"; import ReactApexChart from "react-apexcharts"; jest.mock('react-apexcharts', () => jest.fn(() => { return null...

hey @junedchhipa , did you get time lo look into this? Getting same error while testing react-app with jest and enzyme 1) While mounting the component: TypeError: r.node.getBBox is not...