Skip to content

Commit

Permalink
fix: importRecovery test
Browse files Browse the repository at this point in the history
reset instance 2
  • Loading branch information
ieow committed Feb 28, 2024
1 parent cd1f4aa commit d8b5ec2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/importRecovery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ export const ImportTest = async (testVariable: ImportKeyTestVariable) => {
});
await criticalResetAccount(instance);
await instance.logout();

const instance2 = await newCoreKitLogInInstance({
network: WEB3AUTH_NETWORK.DEVNET,
manualSync: testVariable.manualSync,
email: testVariable.importKeyEmail,
});
await criticalResetAccount(instance2);
await instance2.logout();
BrowserStorage.getInstance("memory").resetStore();
});

await t.test("#recover Tss key using 2 factors key, import tss key to new oauth login", async function () {
Expand Down

0 comments on commit d8b5ec2

Please sign in to comment.