mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-20 00:08:37 +00: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 a new issue