( startCol: number, startRow: number, endCol: number, endRow: number, )
| 11 | } from './selection.js' |
| 12 | |
| 13 | function createSelectionSnapshot( |
| 14 | startCol: number, |
| 15 | startRow: number, |
| 16 | endCol: number, |
| 17 | endRow: number, |
| 18 | ) { |
| 19 | const selection = createSelectionState() |
| 20 | startSelection(selection, startCol, startRow) |
| 21 | updateSelection(selection, endCol, endRow) |
| 22 | return captureOverlaySnapshot(selection, '') |
| 23 | } |
| 24 | |
| 25 | describe('shouldInvalidateOverlayFrame', () => { |
| 26 | it('does not invalidate when a selection first appears', () => { |
no test coverage detected