From d0fec462c9eb644c69ffb450671b1036fe5a9b03 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 25 Sep 2021 02:12:01 -0700 Subject: Snapshots & package.json --- integration/snippets/styledcomponents-output.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'integration/snippets/styledcomponents-output.js') diff --git a/integration/snippets/styledcomponents-output.js b/integration/snippets/styledcomponents-output.js index 898223c3e..16ac1ed6b 100644 --- a/integration/snippets/styledcomponents-output.js +++ b/integration/snippets/styledcomponents-output.js @@ -36,7 +36,7 @@ export function test() { document.body.appendChild(reactEl); ReactDOM.render( - This is an error! Look for the string + The react child should have this text , reactEl ); @@ -49,10 +49,11 @@ export function test() { ); console.assert( document.querySelector("#error-el").textContent === - "This is an error! Look for the string" + "The react child should have this text" ); ReactDOM.unmountComponentAtNode(reactEl); reactEl.remove(); + style.remove(); testDone(import.meta.url); } -- cgit v1.2.3