fix tests

This commit is contained in:
Henry Jameson 2021-08-18 21:17:51 +03:00 committed by Sam Therapy
parent 3a7dc2c4c3
commit 04af3e94e1
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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 <ML> padding
' how are you doing today?'
)))
})