Skip to content

Commit

Permalink
chore: import from package consts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaisailovic committed Jun 10, 2024
1 parent 489ca63 commit 28554fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion providers/ethereum-provider/test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TEST_APP_METADATA_A } from "./../../../packages/sign-client/test/shared/values";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import Web3 from "web3";
import { BigNumber, providers, utils } from "ethers";
Expand All @@ -24,6 +23,7 @@ import {
TEST_ETHEREUM_METHODS_REQUIRED,
TEST_ETHEREUM_METHODS_OPTIONAL,
TEST_WALLET_METADATA,
TEST_APP_METADATA_A,
} from "./shared/constants";
import { EthereumProviderOptions } from "../src/EthereumProvider";
import { parseChainId } from "@walletconnect/utils";
Expand Down
11 changes: 11 additions & 0 deletions providers/ethereum-provider/test/shared/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,14 @@ export const TEST_ETHEREUM_METHODS_OPTIONAL = [
"personal_sign",
"eth_signTypedData",
];

export const TEST_APP_METADATA_A = {
name: "App A (Proposer)",
description: "Description of Proposer App run by client A",
url: "https://app.a.walletconnect.com",
icons: ["https://avatars.githubusercontent.com/u/37784886"],
redirect: {
universal: "App A (Proposer)",
native: "App A Native (Proposer)",
},
};

0 comments on commit 28554fb

Please sign in to comment.