-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6f9afc
commit fda48cf
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
||
|
@@ -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"); | ||
|