diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..94f480de --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/tests/lib/ChatBot.spec.js b/tests/lib/ChatBot.spec.js index 7110081d..15f91e26 100644 --- a/tests/lib/ChatBot.spec.js +++ b/tests/lib/ChatBot.spec.js @@ -270,4 +270,23 @@ describe('ChatBot', () => { expect(wrapper.find(ChatBotContainer).props().opened).to.be.equal(true); }); }); + + describe('Hide Input', () => { + const wrapper = mount( + , + ); + + it('should be rendered without input', () => { + expect(wrapper.find('input.rsc-input')).to.have.length(0); + }); + }); });