import { splitHtml, SplittedHtml } from './HtmlToHtml'; describe('HtmlToHtml', () => { test('should split an HTML string into HTML and CSS', () => { const testCases: [string, SplittedHtml][] = [ [ '', { html: '', css: '', }, ], [ '\n
another line
', { html: '\nanother line
', css: 'b { font-weight: bold; }', }, ], [ '\nSujet : | Your car rental booking DC-7706328 is confirmed (pick-up on 1 October 2024) |
---|
Sujet : | Your car rental booking DC-7706328 is confirmed (pick-up on 1 October 2024) |
---|