diff --git a/test/runtime-puppeteer/samples/inline-style-directive-important/_config.js b/test/runtime-puppeteer/samples/inline-style-directive-important/_config.js
index d4678a0a49..d6323b82e3 100644
--- a/test/runtime-puppeteer/samples/inline-style-directive-important/_config.js
+++ b/test/runtime-puppeteer/samples/inline-style-directive-important/_config.js
@@ -1,13 +1,11 @@
export default {
html: `
hello
- hello
hello
`,
ssrHtml: `
hello
- hello
hello
`,
@@ -15,12 +13,10 @@ export default {
const h1s = target.querySelectorAll('h1');
assert.equal(window.getComputedStyle(h1s[0])['backgroundColor'], 'rgb(0, 0, 255)');
- assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'rgb(0, 0, 255)');
- assert.equal(window.getComputedStyle(h1s[2])['backgroundColor'], 'rgb(255, 0, 0)');
+ assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'rgb(255, 0, 0)');
component.color = 'yellow';
assert.equal(window.getComputedStyle(h1s[0])['backgroundColor'], 'rgb(0, 0, 255)');
- assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'rgb(0, 0, 255)');
- assert.equal(window.getComputedStyle(h1s[2])['backgroundColor'], 'rgb(255, 255, 0)');
+ assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'rgb(255, 255, 0)');
}
};
diff --git a/test/runtime-puppeteer/samples/inline-style-directive-important/main.svelte b/test/runtime-puppeteer/samples/inline-style-directive-important/main.svelte
index 923628f4b4..e869a9a473 100644
--- a/test/runtime-puppeteer/samples/inline-style-directive-important/main.svelte
+++ b/test/runtime-puppeteer/samples/inline-style-directive-important/main.svelte
@@ -3,7 +3,6 @@
hello
-hello
hello