refactor: improved reviving of islands (#100)

This commit is contained in:
Luca Casonato
2022-03-05 01:20:54 +01:00
committed by GitHub
parent 8daa280862
commit 4970663721
7 changed files with 110 additions and 69 deletions
+1 -4
View File
@@ -16,10 +16,7 @@ Deno.test("/ page prerender", async () => {
assertStringIncludes(body, "test.js");
assertStringIncludes(body, "<p>Hello!</p>");
assertStringIncludes(body, "<p>Viewing JIT render.</p>");
assertStringIncludes(
body,
`props="{&quot;message&quot;:&quot;Hello!&quot;}">`,
);
assertStringIncludes(body, `>[{"message":"Hello!"}]</script>`);
assertStringIncludes(
body,
`<meta name="description" content="Hello world!" />`,