Skip to content

Commit b79becf

Browse files
Update test/browser/column/resizable.test.tsx
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
1 parent 852a7b5 commit b79becf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/browser/column/resizable.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test('should use the maxWidth if specified', async () => {
8484
const [, col2] = getHeaderCells();
8585
await resize({ column: col2, resizeBy: 1000 });
8686
await expect.element(grid).toHaveStyle({ gridTemplateColumns: '100px 400px' });
87-
expect(onColumnResize).toHaveBeenCalledWith(expect.objectContaining(columns[1]), 400);
87+
expect(onColumnResize).toHaveBeenCalledExactlyOnceWith(expect.objectContaining(columns[1]), 400);
8888
});
8989

9090
test('should use the minWidth if specified', async () => {

0 commit comments

Comments
 (0)