Open sjaugmented opened 2 years ago
All of my unit tests are failing with the console error: [TypeError: Cannot read properties of null (reading 'addEventListener')]
Have you tried creating a mock?
jest.mock('react-lazyload', () => props => <div {...props} />)
All of my unit tests are failing with the console error: [TypeError: Cannot read properties of null (reading 'addEventListener')]