From cfc03954dcc9d4446e5993c6cdfb5e7e73d71a71 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 22 Jun 2018 12:05:42 +0300 Subject: fix tests --- vnext/src/components/__tests__/MessageInput-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext') diff --git a/vnext/src/components/__tests__/MessageInput-test.js b/vnext/src/components/__tests__/MessageInput-test.js index 7e222beb..53db324f 100644 --- a/vnext/src/components/__tests__/MessageInput-test.js +++ b/vnext/src/components/__tests__/MessageInput-test.js @@ -53,6 +53,6 @@ it('Clears template on submit', () => { } }); expect(messageInput.state().body).toEqual(' '); - messageInput.find('.msg-comment .badge').simulate('click'); + messageInput.find('Button').simulate('click'); expect(messageInput.state().body).toEqual(''); }) -- cgit v1.2.3