From 20ce77b9dd9f713d1563eb509f18ff356b7fe039 Mon Sep 17 00:00:00 2001 From: yandeu <20306025+yandeu@users.noreply.github.com> Date: Tue, 24 Dec 2024 23:20:30 +0100 Subject: [PATCH] Update webComponent.html --- test/browser/webComponent.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/browser/webComponent.html b/test/browser/webComponent.html index 20754aa..02c5371 100644 --- a/test/browser/webComponent.html +++ b/test/browser/webComponent.html @@ -43,7 +43,7 @@ const myCustomElement = document.querySelector('my-custom-element') Test.error(myCustomElement.innerHTML === 'invisible', 'Should show text "invisible"') Test.error( - myCustomElement?.shadowRoot?.innerHTML === '

title

bye123
', + myCustomElement?.shadowRoot?.innerHTML === '

title

bye123
', 'Shadow should contain "title" and "bye123"' ) }) @@ -52,7 +52,7 @@ const myCustomElement = document.querySelector('slot-test') Test.error(myCustomElement.innerHTML === 'John Doe', 'Should show span') Test.error( - myCustomElement?.shadowRoot?.innerHTML === '

Hello:

', + myCustomElement?.shadowRoot?.innerHTML === '

Hello:

', 'Hello: John Doe' ) })