diff --git a/packages/react-bootstrap-table2-editor/test/context.test.js b/packages/react-bootstrap-table2-editor/test/context.test.js index 03cfd74..57b56bf 100644 --- a/packages/react-bootstrap-table2-editor/test/context.test.js +++ b/packages/react-bootstrap-table2-editor/test/context.test.js @@ -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()); }); });