From 906a3996343a9f94b79dc8ef91fc0ca3c04f1719 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Fri, 5 Apr 2024 09:57:44 +0200 Subject: [PATCH] Fix wrong extension for a test file (#29853) --- .../mastodon/utils/__tests__/{html-test.s => html-test.ts} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename app/javascript/mastodon/utils/__tests__/{html-test.s => html-test.ts} (67%) diff --git a/app/javascript/mastodon/utils/__tests__/html-test.s b/app/javascript/mastodon/utils/__tests__/html-test.ts similarity index 67% rename from app/javascript/mastodon/utils/__tests__/html-test.s rename to app/javascript/mastodon/utils/__tests__/html-test.ts index d948cf4c5..99bfdcb80 100644 --- a/app/javascript/mastodon/utils/__tests__/html-test.s +++ b/app/javascript/mastodon/utils/__tests__/html-test.ts @@ -3,7 +3,9 @@ import * as html from '../html'; describe('html', () => { describe('unescapeHTML', () => { it('returns unescaped HTML', () => { - const output = html.unescapeHTML('

lorem

ipsum


<br>'); + const output = html.unescapeHTML( + '

lorem

ipsum


<br>', + ); expect(output).toEqual('lorem\n\nipsum\n
'); }); });