(count: number)
| 147 | |
| 148 | describe('useTableUndo – update-cells chunking (via undo)', () => { |
| 149 | function makeCellsForUpdate(count: number) { |
| 150 | return Array.from({ length: count }, (_, i) => ({ |
| 151 | rowId: `row-${i}`, |
| 152 | oldData: { col: `old-${i}` }, |
| 153 | newData: { col: `new-${i}` }, |
| 154 | })) |
| 155 | } |
| 156 | |
| 157 | it('sends a single call when cells fit within limit', async () => { |
| 158 | const cells = makeCellsForUpdate(2) |
no outgoing calls
no test coverage detected