apply patches

This commit is contained in:
FloatingGhost 2022-01-28 19:07:28 +00:00
parent f065fe98b2
commit 1bc05e87e4
2 changed files with 14 additions and 2 deletions

View file

@ -36,11 +36,13 @@ describe('RichContent', () => {
it('unescapes everything as needed', () => {
const html = [
p('Testing 'em all'),
'Testing 'em all'
'Testing 'em all',
'<a href="http://example.com?a=1&amp;b=2">http://example.com?a=1&b=2</a>'
].join('')
const expected = [
p('Testing \'em all'),
'Testing \'em all'
'Testing \'em all',
'<a href="http://example.com?a=1&b=2">http://example.com?a=1&b=2</a>'
].join('')
const wrapper = shallowMount(RichContent, {
localVue,