I am using next.js for React project and used react-slick slider plugin it's working properly but when I try to run test it through - `TypeError: Cannot read property 'querySelectorAll' of null.
For test setup I used this configuration.
TypeError: Cannot read property 'querySelectorAll' of null
16 |
17 | it('render with error param', () => {
> 18 | const tree: ReactTestRendererJSON = renderer.create(
| ^
19 | <Home />
20 | ).toJSON();
21 | });
Searched a lot but didn't get any solution.