From e47b2d13e11ea7264c62333d8aa497caf661afb3 Mon Sep 17 00:00:00 2001 From: Anton Lykhoyda Date: Thu, 15 Dec 2022 17:35:22 +0100 Subject: [PATCH] fix: dappeteer dependency (#229) fix https://github.com/ChainSafe/dappeteer/issues/228 --- src/constants.ts | 1 + src/snap/install.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/constants.ts diff --git a/src/constants.ts b/src/constants.ts new file mode 100644 index 00000000..b557bb3c --- /dev/null +++ b/src/constants.ts @@ -0,0 +1 @@ +export const EXAMPLE_WEBSITE = "http://example.org"; diff --git a/src/snap/install.ts b/src/snap/install.ts index ff37f800..c3e5b042 100644 --- a/src/snap/install.ts +++ b/src/snap/install.ts @@ -8,7 +8,7 @@ import { profileDropdownClick, } from "../helpers"; import { DappeteerPage } from "../page"; -import { EXAMPLE_WEBSITE } from "../../test/constant"; +import { EXAMPLE_WEBSITE } from "../constants"; import { startSnapServer, toUrl } from "./install-utils"; import { flaskOnly, isFirstElementAppearsFirst } from "./utils"; import { InstallSnapResult } from "./types";