diff --git a/test/runtime/samples/inline-style-directive-important/_config.js b/test/runtime/samples/inline-style-directive-important/_config.js deleted file mode 100644 index ce71be300d..0000000000 --- a/test/runtime/samples/inline-style-directive-important/_config.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { - html: ` -

hello

-

hello

-

hello

- `, - - ssrHtml: ` -

hello

-

hello

-

hello

- `, - skip: true, - test({ assert, target, window, component }) { - const h1s = target.querySelectorAll('h1'); - - assert.equal(window.getComputedStyle(h1s[0])['backgroundColor'], 'blue'); // TODO: This should be blue but ends up being red - assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'blue'); - assert.equal(window.getComputedStyle(h1s[2])['backgroundColor'], 'red'); - - component.color = 'yellow'; - assert.equal(window.getComputedStyle(h1s[0])['backgroundColor'], 'blue'); - assert.equal(window.getComputedStyle(h1s[1])['backgroundColor'], 'blue'); - assert.equal(window.getComputedStyle(h1s[2])['backgroundColor'], 'yellow'); - } -}; diff --git a/test/runtime/samples/inline-style-directive-important/main.svelte b/test/runtime/samples/inline-style-directive-important/main.svelte deleted file mode 100644 index 923628f4b4..0000000000 --- a/test/runtime/samples/inline-style-directive-important/main.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - -

hello

-

hello

-

hello

- - \ No newline at end of file