Skip to content

Commit 996ab3b

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 f580dbf commit 996ab3b

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
@@ -375,11 +375,13 @@ function runWithScriptTypes(
375375
});
376376
}
377377

378-
// compatible with all coins
379-
runWithScriptTypes(['p2sh']);
378+
describe('Backup Key Recovery', function () {
379+
// compatible with all coins
380+
runWithScriptTypes(['p2sh']);
380381

381-
// segwit compatible coins
382-
runWithScriptTypes(['p2shP2wsh', 'p2wsh']);
382+
// segwit compatible coins
383+
runWithScriptTypes(['p2shP2wsh', 'p2wsh']);
383384

384-
// taproot compatible coins
385-
runWithScriptTypes(['p2tr', 'p2trMusig2'], { runKeyProviderTests: false });
385+
// taproot compatible coins
386+
runWithScriptTypes(['p2tr', 'p2trMusig2'], { runKeyProviderTests: false });
387+
});

0 commit comments

Comments
 (0)