Skip to content

Commit

Permalink
demo mainnet test
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Jan 9, 2024
1 parent f6f9afc commit fda48cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"cSpell.words": ["Mutex", "Mutexes", "toruslabs"]
}
8 changes: 4 additions & 4 deletions test/mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const TORUS_TEST_EMAIL = "[email protected]";
const TORUS_TEST_VERIFIER = "torus-test-health";
const TORUS_TEST_AGGREGATE_VERIFIER = "torus-test-health-aggregate";

describe("torus utils mainnet", function () {
describe.only("torus utils mainnet", function () {
let torus: TorusUtils;
let TORUS_NODE_MANAGER: NodeManager;

Expand All @@ -23,9 +23,9 @@ describe("torus utils mainnet", function () {
network: TORUS_LEGACY_NETWORK.MAINNET,
});
});
it("should fetch public address", async function () {
const verifier = "google"; // any verifier
const verifierDetails = { verifier, verifierId: TORUS_TEST_EMAIL };
it.only("should fetch public address", async function () {
const verifier = "tkey-auth0-email-passwordless"; // any verifier
const verifierDetails = { verifier, verifierId: "[email protected]" };
const { torusNodeEndpoints, torusNodePub } = await TORUS_NODE_MANAGER.getNodeDetails(verifierDetails);
const result = await torus.getPublicAddress(torusNodeEndpoints, torusNodePub, verifierDetails);
expect(result.finalKeyData.evmAddress).to.equal("0x0C44AFBb5395a9e8d28DF18e1326aa0F16b9572A");
Expand Down

0 comments on commit fda48cf

Please sign in to comment.