import { htmlHasBrParagraphBreaks, safelyParseFormattedHtml, } from '@/utility/html'; describe('HTML', () => { it('safely parses', () => { expect(safelyParseFormattedHtml('
TEXT
')).toBe('TEXT'); expect(safelyParseFormattedHtml('TEXT')).toBe('TEXT'); }); it('detects br-style paragraph breaks', () => { expect(htmlHasBrParagraphBreaks('TEXT