Skip to content

Commit

Permalink
fix typo, ant-design#12970
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and ardok committed Nov 8, 2018
1 parent bc380a7 commit 6d4bf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cascader/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ describe('Cascader', () => {
wrapper.instance().handleChange(['zhejiang', 'hangzhou', 'xihu'], customerOptions);
expect(wrapper.find('.ant-cascader-picker-label').text().split('/').length).toBe(3);
expect(errorSpy).toHaveBeenLastCalledWith(
'Warning: `filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` intead.'
'Warning: `filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead.'
);
errorSpy.mockReset();
});
Expand Down

0 comments on commit 6d4bf3e

Please sign in to comment.