mirror of
https://github.com/funamitech/mastodon
synced 2024-11-23 22:57:05 +09:00
Fix wrong extension for a test file (#29853)
This commit is contained in:
parent
c7378218ba
commit
906a399634
@ -3,7 +3,9 @@ import * as html from '../html';
|
||||
describe('html', () => {
|
||||
describe('unescapeHTML', () => {
|
||||
it('returns unescaped HTML', () => {
|
||||
const output = html.unescapeHTML('<p>lorem</p><p>ipsum</p><br><br>');
|
||||
const output = html.unescapeHTML(
|
||||
'<p>lorem</p><p>ipsum</p><br><br>',
|
||||
);
|
||||
expect(output).toEqual('lorem\n\nipsum\n<br>');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user