Skip to content

Commit

Permalink
logging-errors-for-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-vincent committed Jun 18, 2024
1 parent e8a8992 commit 7b4f178
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/bolt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,11 @@ describe("bolt", () => {
reimbursement: provider.wallet.publicKey,
});
const tx = new anchor.web3.Transaction().add(delegateIx);
await provider.sendAndConfirm(tx);
try {
await provider.sendAndConfirm(tx);
} catch (error) {
console.log("error", error);
}
const acc = await provider.connection.getAccountInfo(
componentPositionEntity1Pda
);
Expand Down

0 comments on commit 7b4f178

Please sign in to comment.