From 50f49c28a2515385d15f3d356b12d90230da9a18 Mon Sep 17 00:00:00 2001 From: seotts Date: Thu, 11 Mar 2021 16:31:59 -0500 Subject: [PATCH] remove commented-out test --- test/unit/components/compose-comment.test.jsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/unit/components/compose-comment.test.jsx b/test/unit/components/compose-comment.test.jsx index 6b40fee15..293abb3d7 100644 --- a/test/unit/components/compose-comment.test.jsx +++ b/test/unit/components/compose-comment.test.jsx @@ -502,15 +502,4 @@ describe('Compose Comment test', () => { commentInstance.setState({muteType: 'spaghetti'}); expect(commentInstance.getMuteMessageInfo().commentType).toBe('comment.type.general'); }); - - // test('Show feedback link when comment is initially rejected', () => { - // const component = getComposeCommentWrapper({}); - // const commentInstance = component.instance(); - // commentInstance.setState({error: 'isBad', mute_status: {}}); - // component.update(); - // expect(component.find('FlexRow.compose-error-row').exists()).toEqual(true); - // // Buttons stay enabled when comment rejected for non-mute reasons - // expect(component.find('Button.compose-post').props().disabled).toBe(false); - // expect(component.find('Button.compose-cancel').props().disabled).toBe(false); - // }); });