aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/styledcomponents-output.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-25 02:12:01 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-25 02:12:01 -0700
commitd0fec462c9eb644c69ffb450671b1036fe5a9b03 (patch)
treec4a042ce97bd7e8fb044bab00cb5ab0e392075b2 /integration/snippets/styledcomponents-output.js
parent20e2040e7e8cf2cd1ac2607f97fab8fd52193529 (diff)
downloadbun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.tar.gz
bun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.tar.zst
bun-d0fec462c9eb644c69ffb450671b1036fe5a9b03.zip
Snapshots & package.json
Diffstat (limited to 'integration/snippets/styledcomponents-output.js')
-rw-r--r--integration/snippets/styledcomponents-output.js5
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);
}