Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu committed Sep 28, 2023
1 parent 3188a95 commit 3d3956b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions test/sapphire_devnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ describe("torus utils sapphire", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});
it("should fetch public address of imported user", async function () {
// we are working on a new implementation for import sss keys, so skipping it for now.
it.skip("should fetch public address of imported user", async function () {
const verifierDetails = { verifier: TORUS_TEST_VERIFIER, verifierId: TORUS_IMPORT_EMAIL };
const nodeDetails = await TORUS_NODE_MANAGER.getNodeDetails(verifierDetails);
const torusNodeEndpoints = nodeDetails.torusNodeSSSEndpoints;
Expand Down Expand Up @@ -281,7 +282,7 @@ describe("torus utils sapphire", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});

Expand Down Expand Up @@ -446,7 +447,7 @@ describe("torus utils sapphire", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});
it("should assign key to tss verifier id", async function () {
Expand Down Expand Up @@ -513,7 +514,7 @@ describe("torus utils sapphire", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});

Expand Down Expand Up @@ -556,7 +557,7 @@ describe("torus utils sapphire", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});
it("should be able to login when verifierID hash enabled", async function () {
Expand Down
6 changes: 3 additions & 3 deletions test/sapphire_mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe("torus utils sapphire mainnet", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});

Expand Down Expand Up @@ -207,7 +207,7 @@ describe("torus utils sapphire mainnet", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});

Expand Down Expand Up @@ -237,7 +237,7 @@ describe("torus utils sapphire mainnet", function () {
upgraded: false,
typeOfUser: "v2",
},
nodesData: { nodeIndexes: [] },
nodesData: { nodeIndexes: result.nodesData.nodeIndexes },
});
});
it("should be able to login when verifierID hash enabled", async function () {
Expand Down

0 comments on commit 3d3956b

Please sign in to comment.