fix: dots in island + route name not working (#2105)

This commit is contained in:
Marvin Hagemeister
2023-11-30 18:14:59 +01:00
committed by GitHub
parent a0483bc357
commit 054ffbb44a
7 changed files with 54 additions and 21 deletions
+7
View File
@@ -1001,6 +1001,13 @@ Deno.test({
},
});
Deno.test("support dots in route + island name", async () => {
await withPageName("./tests/fixture/main.ts", async (page, address) => {
await page.goto(`${address}/foo.bar`);
await page.waitForSelector(".ready");
});
});
Deno.test("De-duplicates <Head /> nodes by key", async () => {
await withFakeServe("./tests/fixture/main.ts", async (server) => {
const res = await server.get(`/head_deduplicate`);