Skip to content

Commit

Permalink
fix: e2e base url (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan authored Oct 28, 2021
1 parent a0beac8 commit 3d240c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/__tests__/e2e/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ import {
const data = datasets[DATASET];

const defaultBaseUrl = "d";
const pageUrl = [appUrlBase, defaultBaseUrl, DATASET].join("/");
const pageUrl = appUrlBase.includes("localhost")
? [appUrlBase, defaultBaseUrl, DATASET].join("/")
: appUrlBase;

describe("did launch", () => {
test("page launched", async () => {
Expand Down

0 comments on commit 3d240c8

Please sign in to comment.