summaryrefslogtreecommitdiff
path: root/packages/integrations/deno/test/basics.test.js
diff options
context:
space:
mode:
authorGravatar unknown <matthew@skypack.dev> 2022-04-20 17:17:11 -0400
committerGravatar unknown <matthew@skypack.dev> 2022-04-20 17:17:11 -0400
commit700d4f9649b72e98a56586a480e6d3c413cf45f1 (patch)
treeaf69b638d0e7de89357cbfbdcb5508c7162e0f39 /packages/integrations/deno/test/basics.test.js
parent12f6b6099810f3f56e5ca956c84216725a6d777c (diff)
downloadastro-700d4f9649b72e98a56586a480e6d3c413cf45f1.tar.gz
astro-700d4f9649b72e98a56586a480e6d3c413cf45f1.tar.zst
astro-700d4f9649b72e98a56586a480e6d3c413cf45f1.zip
Fixes using React.lazy and Suspense
Diffstat (limited to 'packages/integrations/deno/test/basics.test.js')
-rw-r--r--packages/integrations/deno/test/basics.test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/integrations/deno/test/basics.test.js b/packages/integrations/deno/test/basics.test.js
index 115883466..42efc87d9 100644
--- a/packages/integrations/deno/test/basics.test.js
+++ b/packages/integrations/deno/test/basics.test.js
@@ -13,6 +13,9 @@ Deno.test({
assertEquals(resp.status, 200);
const html = await resp.text();
assert(html);
+ const doc = new DOMParser().parseFromString(html, `text/html`);
+ const div = doc.querySelector("#react");
+ assert(div, 'div exists');
});
},
});