Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix: dappeteer dependency #229

Merged
merged 1 commit into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const EXAMPLE_WEBSITE = "http://example.org";
2 changes: 1 addition & 1 deletion src/snap/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 1 addition & 4 deletions test/constant.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { Provider, Server } from "ganache";

import web3 from "web3";
import { Dappeteer, DappeteerPage } from "../src";

import { DappeteerBrowser } from "../src/browser";
import { Dappeteer, DappeteerPage, DappeteerBrowser } from "../src";
import { Contract, Snaps } from "./deploy";

export type InjectableContext = Readonly<{
Expand Down