const templateMinify = require("../minifyTemplate.js")
test('Test html string with tempalte', () => {
expect(templateMinify("let echo = 1;\r html`\r\r\n
html test ${echo}\r
`",{collapseWhitespace: true}))
.toBe("let echo=1;html`html test ${echo}
`;");
});
test('Test simple svg string', () => {
expect(templateMinify('let echo = 0;svg``',{collapseWhitespace: true}))
.toBe('let echo=0;svg``;');
});