(data)
| 63 | |
| 64 | it('should throw when adding or removing event listeners', () => { |
| 65 | const eventCallback = (data) => {}; |
| 66 | const error = new TypeError('Illegal invocation'); |
| 67 | |
| 68 | expect(() => MediaQueryList.prototype.addEventListener('change', eventCallback)).toThrow(error); |
nothing calls this directly
no outgoing calls
no test coverage detected