import { parseSvg } from './parser.js'; import { stringifySvg } from './stringifier.js'; const input = ` this is a test this is a test `; const expected = ` this is a test this is a test `; test('a text preserved', () => { const parsed = parseSvg(input); const actual = stringifySvg(parsed, {}); expect(actual).toBe(expected); });