From c785c0b38c62ee9c96ba719757b6feef7f7b5b0b Mon Sep 17 00:00:00 2001 From: Zephraph Date: Tue, 23 Apr 2019 23:48:45 -0400 Subject: [PATCH] Remove asserts from old test --- .../samples/no-shadow-dom-with-slots/test.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/custom-elements/samples/no-shadow-dom-with-slots/test.js b/test/custom-elements/samples/no-shadow-dom-with-slots/test.js index 85d868af21..494cff4ce5 100644 --- a/test/custom-elements/samples/no-shadow-dom-with-slots/test.js +++ b/test/custom-elements/samples/no-shadow-dom-with-slots/test.js @@ -9,9 +9,5 @@ export default function (target) { assert.equal(target.innerHTML, '

Hello world!

'); const el = target.querySelector('custom-element'); - const h1 = el.querySelector('h1'); - const { color } = getComputedStyle(h1); - - assert.equal(h1.textContent, 'Hello world!'); - assert.equal(color, 'rgb(0, 0, 255)'); + assert.equal(el.innerText, "Hello world!"); } \ No newline at end of file