Skip to content

Commit f61acd0

Browse files
committed
fix test failure
1 parent 9fbcddf commit f61acd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/css/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ describe('css', () => {
117117
normalizeHtml(window, html.replace(/svelte-\d+/g, 'svelte-xyz')),
118118
normalizeHtml(window, expected.html)
119119
);
120+
121+
window.document.head.innerHTML = ''; // remove added styles
120122
} catch (err) {
121123
console.log(dom.code);
122124
throw err;

0 commit comments

Comments
 (0)