summaryrefslogtreecommitdiff
path: root/packages/integrations/deno/test/basics.test.js
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-04-21 12:10:06 -0400
committerGravatar GitHub <noreply@github.com> 2022-04-21 12:10:06 -0400
commitae9ac5cbdceba0687d83d56d9d5f80479ab88710 (patch)
tree26fc15585e7ed77fd47607f5e7211050813fa642 /packages/integrations/deno/test/basics.test.js
parent3cdc5f1bfb7801be93c1df582b2ec1484566759b (diff)
downloadastro-ae9ac5cbdceba0687d83d56d9d5f80479ab88710.tar.gz
astro-ae9ac5cbdceba0687d83d56d9d5f80479ab88710.tar.zst
astro-ae9ac5cbdceba0687d83d56d9d5f80479ab88710.zip
Fixes using React.lazy and Suspense (#3160)
* Revert "Revert "Fixes using React.lazy and Suspense"" This reverts commit e621c2f7d3844e950168f4198e4dd1c6f43031d0. * Adds a changeset * Fix ts errors * Remove netlify metadata folder
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');
});
},
});