diff --git a/components/message/__tests__/index.test.js b/components/message/__tests__/index.test.js index f87117a21..e60232232 100644 --- a/components/message/__tests__/index.test.js +++ b/components/message/__tests__/index.test.js @@ -121,7 +121,7 @@ describe('message', () => { }, 0); }); it('should allow custom icon', async () => { - message.open({ content: 'Message', icon: () => }); // eslint-disable-line + message.open({ content: 'Message', icon: }); await asyncExpect(() => { expect(document.querySelectorAll('.anticon-smile').length).toBe(1); }, 0);