Skip to content

Commit ec11602

Browse files
OttoAllmendingerllm-git
andcommitted
feat(abstract-utxo): wrap recovery tests in describe block for clarity
Improves UX with VSCode test extension. Issue: BTC-2732 Co-authored-by: llm-git <[email protected]>
1 parent eb7b468 commit ec11602

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

modules/abstract-utxo/test/unit/recovery/backupKeyRecovery.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,13 @@ function runWithScriptTypes(
368368
});
369369
}
370370

371-
// compatible with all coins
372-
runWithScriptTypes(['p2sh']);
371+
describe('Backup Key Recovery', function () {
372+
// compatible with all coins
373+
runWithScriptTypes(['p2sh']);
373374

374-
// segwit compatible coins
375-
runWithScriptTypes(['p2shP2wsh', 'p2wsh']);
375+
// segwit compatible coins
376+
runWithScriptTypes(['p2shP2wsh', 'p2wsh']);
376377

377-
// taproot compatible coins
378-
runWithScriptTypes(['p2tr', 'p2trMusig2'], { runKeyProviderTests: false });
378+
// taproot compatible coins
379+
runWithScriptTypes(['p2tr', 'p2trMusig2'], { runKeyProviderTests: false });
380+
});

0 commit comments

Comments
 (0)