Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Jan 24, 2024
1 parent aa0dc52 commit f3c3d76
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/accounts/avalanche.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { avalanche, post } from "../index";
import { ItemType, MessageType } from "../../src/messages/types";
import { EthereumProvider } from "../providers/ethereumProvider";
import { GetVerificationBuffer } from "../../src/messages";
import verifyAvalanche from "../index";
import { verifyAvalanche } from "../index";
import { EphAccountList } from "../testAccount/entryPoint";
import fs from "fs";

Expand Down
2 changes: 1 addition & 1 deletion tests/accounts/ethereum.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MessageType, ItemType } from "../../src/messages/types";
import { EphAccountList } from "../testAccount/entryPoint";
import fs from "fs";
import { GetVerificationBuffer } from "../../src/messages";
import verifyEthereum from "../index";
import { verifyEthereum } from "../index";

describe("Ethereum accounts", () => {
let ephemeralAccount: EphAccountList;
Expand Down
2 changes: 1 addition & 1 deletion tests/accounts/solana.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ItemType, MessageType } from "../../src/messages/types";
import { post, solana } from "../index";
import { Keypair } from "@solana/web3.js";
import { panthomLikeProvider, officialLikeProvider } from "../providers/solanaProvider";
import verifySolana from "../index";
import { verifySolana } from "../index";
import { GetVerificationBuffer } from "../../src/messages";
import { EphAccountList } from "../testAccount/entryPoint";
import fs from "fs";
Expand Down
2 changes: 1 addition & 1 deletion tests/accounts/tezos.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DEFAULT_API_V2 } from "../../src/global";
import { b58cencode, prefix, validateSignature } from "@taquito/utils";
import { EphAccountList } from "../testAccount/entryPoint";
import fs from "fs";
import verifyTezos from "../../src/utils/signature/verifyTezos";
import { verifyTezos } from "../index";

if (!window) {
require("localstorage-polyfill");
Expand Down
2 changes: 2 additions & 0 deletions tests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import * as any from "../src/messages/any/index";
import verifyEthereum from "../src/utils/signature/verifyEthereum";
import verifySolana from "../src/utils/signature/verifySolana";
import verifyAvalanche from "../src/utils/signature/verifyAvalanche";
import verifyTezos from "../src/utils/signature/verifyTezos";

export {
avalanche,
Expand All @@ -32,4 +33,5 @@ export {
verifyEthereum,
verifySolana,
verifyAvalanche,
verifyTezos,
};

0 comments on commit f3c3d76

Please sign in to comment.