fix tests and add CI (#5)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/5
This commit is contained in:
parent
1ad17fc2bf
commit
a0305e90f0
3 changed files with 50 additions and 22 deletions
|
@ -44,12 +44,12 @@ describe('RichContent', () => {
|
|||
const html = [
|
||||
p('Testing 'em all'),
|
||||
'Testing 'em all',
|
||||
'<a href="http://example.com?a=1&b=2">http://example.com?a=1&b=2</a>'
|
||||
'<a href="http://example.com?a=1">http://example.com?a=1</a>'
|
||||
].join('')
|
||||
const expected = [
|
||||
p('Testing \'em all'),
|
||||
'Testing \'em all',
|
||||
'<a href="http://example.com?a=1&b=2">http://example.com?a=1&b=2</a>'
|
||||
'<a href="http://example.com?a=1" target="_blank">http://example.com?a=1</a>'
|
||||
].join('')
|
||||
const wrapper = shallowMount(RichContent, {
|
||||
global,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue