From 6d4bf3ee24fbb797966e97582dbb8e29403d107e Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 7 Nov 2018 00:19:46 +0800 Subject: [PATCH] fix typo, #12970 --- components/cascader/__tests__/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); });