File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,10 @@ export const ImportSFATest = async (testVariable: ImportKeyTestVariable) => {
3434 }
3535
3636 test ( `import sfa key and recover tss key : ${ testVariable . manualSync } ` , async function ( t ) {
37- const beforeTest = async ( ) => {
38- await resetAccount ( testVariable . email ) ;
39- } ;
40-
41- await beforeTest ( ) ;
42-
43- await t . test ( "#recover Tss key using 2 factors key, import tss key to new oauth login" , async function ( ) {
37+ const afterTest = async ( ) => {
38+ await resetAccount ( testVariable . email ) ;
39+ } ;
40+ await t . test ( "#recover Tss key using 2 factors key, import tss key to new oauth login" , async function ( ) {
4441 const sfaResult = await loginWithSFA ( {
4542 network : WEB3AUTH_NETWORK . DEVNET ,
4643 manualSync : testVariable . manualSync ,
@@ -81,6 +78,7 @@ export const ImportSFATest = async (testVariable: ImportKeyTestVariable) => {
8178
8279 } ) ;
8380
81+ await afterTest ( ) ;
8482 t . afterEach ( function ( ) {
8583 return console . info ( "finished running recovery test" ) ;
8684 } ) ;
You can’t perform that action at this time.
0 commit comments