We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23269b0 commit 8ebc0fbCopy full SHA for 8ebc0fb
1 file changed
@iconify/tools/tests/svg/svg-test.ts
@@ -20,6 +20,9 @@ describe('Loading SVG', () => {
20
expect(svg.toMinifiedString()).toBe(
21
'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="20" viewBox="-8 -16 24 40"><path d="M3 0v1h4v5h-4v1h5v-7h-5zm1 2v1h-4v1h4v1l2-1.5-2-1.5z"/></svg>'
22
);
23
+ expect(svg.toPrettyString()).toBe(
24
+ '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="20" viewBox="-8 -16 24 40">\n\t<path d="M3 0v1h4v5h-4v1h5v-7h-5zm1 2v1h-4v1h4v1l2-1.5-2-1.5z" />\n</svg>\n'
25
+ );
26
expect(svg.getBody()).toBe(
27
'<path d="M3 0v1h4v5h-4v1h5v-7h-5zm1 2v1h-4v1h4v1l2-1.5-2-1.5z"/>'
28
0 commit comments