import { trimSVG } from '../lib/svg/trim';
describe('Trim SVG', () => {
test('Simple whitespace', () => {
expect(
trimSVG(
'\n'
)
).toBe(
''
);
expect(
trimSVG(
'\n\n'
)
).toBe(
''
);
});
test('Whitespace inside icon', () => {
expect(
trimSVG(
`
`
)
).toBe(
''
);
});
test('Path with multiple lines', () => {
expect(
trimSVG(`
`)
).toBe(
''
);
});
test('Multi lines Attributes', () => {
expect(
trimSVG(
``
)
).toBe(
''
);
});
});