upgrade fires change event test case

This commit is contained in:
yoyo837 2019-10-15 16:33:37 +08:00
parent 0522d55f26
commit 5a07b85d9e

View File

@ -145,8 +145,8 @@ describe('Table.sorter', () => {
const sorter3 = handleChange.mock.calls[2][2];
expect(sorter3.column).toBe(undefined);
expect(sorter3.order).toBe(undefined);
expect(sorter3.field).toBe(undefined);
expect(sorter3.columnKey).toBe(undefined);
expect(sorter3.field).toBe('name');
expect(sorter3.columnKey).toBe('name');
});
it('works with grouping columns in controlled mode', () => {