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:
Sebastian Martinez
2023-04-03 11:50:24 +02:00
committed by Rūdolfs Ošiņš
parent 6a03ccef2d
commit 4c3bd7ee04
10 changed files with 45 additions and 33 deletions
-6
View File
@@ -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);