From 2b6c2136701df55a7cb27528c7c4428553adb7a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Thu, 15 Dec 2022 17:58:54 +0100 Subject: [PATCH] fix: dappeteer dependency (#229) (#230) fix https://github.com/ChainSafe/dappeteer/issues/228 Co-authored-by: Anton Lykhoyda --- 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";