Skip to content

Commit

Permalink
fix node details import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu committed Jul 16, 2024
1 parent 2f98f9c commit 095e77f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/sapphire_devnet_ed25519.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TORUS_SAPPHIRE_NETWORK } from "@toruslabs/constants";
import NodeManager from "@toruslabs/fetch-node-details";
import { NodeDetailManager } from "@toruslabs/fetch-node-details";
import BN from "bn.js";
import base58 from "bs58";
import { expect } from "chai";
Expand All @@ -21,10 +21,10 @@ const HashEnabledVerifier = "torus-test-verifierid-hash";

describe("torus utils ed25519 sapphire devnet", function () {
let torus: TorusUtils;
let TORUS_NODE_MANAGER: NodeManager;
let TORUS_NODE_MANAGER: NodeDetailManager;

beforeEach("one time execution before all tests", async function () {
TORUS_NODE_MANAGER = new NodeManager({ network: TORUS_SAPPHIRE_NETWORK.SAPPHIRE_DEVNET });
TORUS_NODE_MANAGER = new NodeDetailManager({ network: TORUS_SAPPHIRE_NETWORK.SAPPHIRE_DEVNET });
torus = new TorusUtils({
network: TORUS_SAPPHIRE_NETWORK.SAPPHIRE_DEVNET,
clientId: "YOUR_CLIENT_ID",
Expand Down

0 comments on commit 095e77f

Please sign in to comment.