fix test failure

pull/1119/head
Rich Harris 7 years ago
parent 9fbcddf338
commit f61acd06c6

@ -117,6 +117,8 @@ describe('css', () => {
normalizeHtml(window, html.replace(/svelte-\d+/g, 'svelte-xyz')),
normalizeHtml(window, expected.html)
);
window.document.head.innerHTML = ''; // remove added styles
} catch (err) {
console.log(dom.code);
throw err;

Loading…
Cancel
Save