mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the hashRouter.spec.ts into the webserver config in the playwright.config.ipfs.ts Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -11,12 +11,6 @@ import {
|
||||
expectUrlPersistsReload,
|
||||
} from "@tests/support/router.js";
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.addInitScript(() => {
|
||||
window.HASH_ROUTING = true;
|
||||
});
|
||||
});
|
||||
|
||||
test("navigate between landing and project page", async ({ page }) => {
|
||||
await page.addInitScript(appConfigWithFixture);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user