fix: typo in test (#28195)

This commit is contained in:
琚致远 2020-12-04 15:27:23 +08:00 committed by GitHub
parent 4790ef59a2
commit d692d655c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1151,7 +1151,7 @@ describe('Table.rowSelection', () => {
expect(onChange).toHaveBeenCalledWith(['Jack'], [{ name: 'Jack' }]);
});
it('works with selectionType radio receive selectedRowKeys fron [] to undefined', () => {
it('works with selectionType radio receive selectedRowKeys from [] to undefined', () => {
const onChange = jest.fn();
const dataSource = [{ name: 'Jack' }];
const wrapper = mount(