()
| 3 | |
| 4 | describe('attachSheetDrag', () => { |
| 5 | const mount = () => { |
| 6 | const panel = document.createElement('div'); |
| 7 | Object.defineProperty(panel, 'offsetHeight', { value: 300 }); |
| 8 | document.body.appendChild(panel); |
| 9 | const detach = attachSheetDrag(panel, jest.fn()); |
| 10 | return { panel, detach }; |
| 11 | }; |
| 12 | |
| 13 | it('marks the sheet entered once its enter animation ends', () => { |
| 14 | const { panel, detach } = mount(); |
no test coverage detected