diff --git a/components/cascader/__tests__/index.test.js b/components/cascader/__tests__/index.test.js index 57a5c4cdc605..4b4d5a1510ba 100644 --- a/components/cascader/__tests__/index.test.js +++ b/components/cascader/__tests__/index.test.js @@ -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(); });