mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-12 04:00:16 +00:00
fix bug for wrap not existing method
This commit is contained in:
@@ -34,12 +34,12 @@ describe('<SelectionCell />', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('handleRowClick', () => {
|
||||
describe('handleClick', () => {
|
||||
describe('when <input /> was been clicked', () => {
|
||||
const rowKey = 1;
|
||||
const selected = true;
|
||||
let mockOnRowSelect;
|
||||
const spy = sinon.spy(SelectionCell.prototype, 'handleRowClick');
|
||||
const spy = sinon.spy(SelectionCell.prototype, 'handleClick');
|
||||
|
||||
beforeEach(() => {
|
||||
mockOnRowSelect = sinon.stub();
|
||||
|
||||
Reference in New Issue
Block a user