From 04af3e94e1523e32c49aa6421e784e4bb4dba5ae Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 18 Aug 2021 21:17:51 +0300 Subject: [PATCH] fix tests --- test/unit/specs/components/rich_content.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/specs/components/rich_content.spec.js b/test/unit/specs/components/rich_content.spec.js index c84df34b..b29edeab 100644 --- a/test/unit/specs/components/rich_content.spec.js +++ b/test/unit/specs/components/rich_content.spec.js @@ -59,7 +59,7 @@ describe('RichContent', () => { it('replaces mention with mentionsline', () => { const html = p( makeMention('John'), - ' how are you doing today?' // also testing single-trimming function + ' how are you doing today?' ) const wrapper = shallowMount(RichContent, { localVue, @@ -74,7 +74,7 @@ describe('RichContent', () => { expect(wrapper.html()).to.eql(compwrap(p( mentionsLine(1), - ' how are you doing today?' // space removed to compensate for padding + ' how are you doing today?' ))) })