Skip to content

Commit

Permalink
upgrade fires change event test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed Oct 15, 2019
1 parent 0522d55 commit 5a07b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/table/__tests__/Table.sorter.test.js
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 5a07b85

Please sign in to comment.