Skip to content

Commit ef5be4c

Browse files
committed
fix: tests reset
1 parent c0a0949 commit ef5be4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const criticalResetAccount = async (coreKitInstance: Web3AuthMPCCoreKit,
3131
}
3232

3333
if (coreKitInstance.tKey.secp256k1Key) {
34+
await coreKitInstance.commitChanges();
3435
await coreKitInstance.tKey.CRITICAL_deleteTkey();
3536
} else {
3637
await coreKitInstance.tKey.storageLayer.setMetadata({

0 commit comments

Comments
 (0)