mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-10-04 09:16:53 +00:00
patch test for #583
This commit is contained in:
@@ -235,7 +235,8 @@ describe('CellEditContext', () => {
|
||||
|
||||
it('should call cellEdit.beforeSaveCell correctly', () => {
|
||||
expect(beforeSaveCell).toHaveBeenCalledTimes(1);
|
||||
expect(beforeSaveCell).toHaveBeenCalledWith(oldValue, newValue, row, column);
|
||||
expect(beforeSaveCell)
|
||||
.toHaveBeenCalledWith(oldValue, newValue, row, column, expect.anything());
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user