diff options
author | 2021-09-25 02:12:01 -0700 | |
---|---|---|
committer | 2021-09-25 02:12:01 -0700 | |
commit | d0fec462c9eb644c69ffb450671b1036fe5a9b03 (patch) | |
tree | c4a042ce97bd7e8fb044bab00cb5ab0e392075b2 /integration/snippets/styledcomponents-output.js | |
parent | 20e2040e7e8cf2cd1ac2607f97fab8fd52193529 (diff) | |
download | bun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.tar.gz bun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.tar.zst bun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.zip |
Snapshots & package.json
Diffstat (limited to '')
-rw-r--r-- | integration/snippets/styledcomponents-output.js | 5 |
1 files changed, 3 insertions, 2 deletions
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( <ErrorScreenRoot id="error-el"> - This is an error! Look for the string + The react child should have this text </ErrorScreenRoot>, 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); } |