|
|
@ -30,11 +30,11 @@ describe('utils', () => { |
|
|
|
it('replace html symbol', () => { |
|
|
|
const html = '<p>hello world</p>' |
|
|
|
const res = replaceHtmlSpecialSymbols(html) |
|
|
|
expect(res).toBe('<p>hello world</p>') |
|
|
|
expect(res).toBe('<p>hello world</p>') |
|
|
|
}) |
|
|
|
|
|
|
|
it('replace html symbol', () => { |
|
|
|
const html = '<p>hello world</p>' |
|
|
|
const html = '<p>hello world</p>' |
|
|
|
const res = deReplaceHtmlSpecialSymbols(html) |
|
|
|
expect(res).toBe('<p>hello world</p>') |
|
|
|
}) |
|
|
|