diff --git a/tests/setup.ts b/tests/setup.ts index ab677bf..6ab2f9b 100644 --- a/tests/setup.ts +++ b/tests/setup.ts @@ -30,6 +30,7 @@ export const criticalResetAccount = async (coreKitInstance: Web3AuthMPCCoreKit): throw new Error("coreKitInstance is not set"); } + await coreKitInstance.commitChanges(); if (coreKitInstance.tKey.secp256k1Key) { await coreKitInstance.tKey.CRITICAL_deleteTkey(); } else {