aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/public/index.html
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-25 02:06:06 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-25 02:06:06 -0700
commit20e2040e7e8cf2cd1ac2607f97fab8fd52193529 (patch)
tree784e858c5c050970bb0d1e7ca11e70f2d20ceb44 /integration/snippets/public/index.html
parent538f73b2fa3a112111e6500a30f6a065914bd2f7 (diff)
downloadbun-v0.0.24.tar.gz
bun-v0.0.24.tar.zst
bun-v0.0.24.zip
Add integration test that checks styled-components renders successfully and no incorrect unicode characters are present in the `style` tagbun-v0.0.24
Diffstat (limited to 'integration/snippets/public/index.html')
-rw-r--r--integration/snippets/public/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/integration/snippets/public/index.html b/integration/snippets/public/index.html
index 5358fa423..2c3804a04 100644
--- a/integration/snippets/public/index.html
+++ b/integration/snippets/public/index.html
@@ -7,6 +7,12 @@
</head>
<body>
<script type="module">
+ globalThis.console.assert = (condition, ...content) => {
+ if (!condition) {
+ throw new Error(content.join(" "));
+
+ }
+ };
globalThis.getModuleScriptSrc = async (name) => {
const response = await fetch(name, {
cache: "force-cache",