Skip to content

Commit 23cfc88

Browse files
davidkaplanbitgollm-git
andcommitted
refactor(bitgo): reorganize test for abstract UTXO coin explain
Issue: BTC-2390 Co-authored-by: llm-git <[email protected]>
1 parent 1c89217 commit 23cfc88

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

modules/bitgo/test/v2/unit/coins/abstractUtxoCoin.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -585,17 +585,19 @@ describe('Abstract UTXO Coin:', () => {
585585
});
586586
});
587587

588-
describe('Verify paygo output when explaining psbt transaction', function () {
589-
const bitgo: BitGo = TestBitGo.decorate(BitGo, { env: 'mock' });
590-
let coin: AbstractUtxoCoin;
588+
describe('Explain Transaction', function () {
589+
describe('Verify paygo output when explaining psbt transaction', function () {
590+
const bitgo: BitGo = TestBitGo.decorate(BitGo, { env: 'mock' });
591+
let coin: AbstractUtxoCoin;
591592

592-
beforeEach(() => {
593-
coin = bitgo.coin('tbtc4') as AbstractUtxoCoin;
594-
});
593+
beforeEach(() => {
594+
coin = bitgo.coin('tbtc4') as AbstractUtxoCoin;
595+
});
595596

596-
it('should detect and verify paygo address proof in PSBT', async function () {
597-
// Call explainTransaction
598-
await coin.explainTransaction(psbtTxHex);
597+
it('should detect and verify paygo address proof in PSBT', async function () {
598+
// Call explainTransaction
599+
await coin.explainTransaction(psbtTxHex);
600+
});
599601
});
600602
});
601603
});

0 commit comments

Comments
 (0)