fix: reviving multiple islands on one page (#197)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
co-authored by
Luca Casonato
parent
458fe2ca3c
commit
afafb7c938
@@ -265,7 +265,6 @@ Deno.test("static file - by 'hashed' path", async () => {
|
||||
// verify that the asset hook is applied to the srcset
|
||||
const imgInIslandSrcSet = body.match(/srcset="(.*?)"/)?.[1];
|
||||
assert(imgInIslandSrcSet);
|
||||
console.log(imgInIslandSrcSet);
|
||||
assert(
|
||||
imgInIslandSrcSet.includes(globalThis.__FRSH_BUILD_ID),
|
||||
"img-in-island-srcset",
|
||||
|
||||
Reference in New Issue
Block a user