feat: Use href instead of origin on Partial (#1870)
This commit is contained in:
@@ -1101,3 +1101,16 @@ Deno.test("applies f-partial on <button>", async () => {
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Deno.test("supports relative links", async () => {
|
||||
await withPageName(
|
||||
"./tests/fixture_partials/main.ts",
|
||||
async (page, address) => {
|
||||
await page.goto(`${address}/relative_link`);
|
||||
await page.waitForSelector(".status-initial");
|
||||
|
||||
await page.click("button");
|
||||
await page.waitForSelector(".status-refreshed");
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user