test(plugin-htlc-coordinator-besu): use Jest error assert in refund.test #3457
Labels
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
P3
Priority 3: Medium
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
Description
Refactor the negative test case exception assertions so that they do not use try-catch blocks but instead declare the requirements through Jest's (and
jest-extended
's) own API.The parent issue with a much more detailed explanation of what's needed and code examples on how to do it:
Parent Issue: #3455
The test case to work on in the scope of this issue:
extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/refund.test.ts
The way to run the test case:
yarn jest extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/refund.test.ts
Acceptance Criteria
The text was updated successfully, but these errors were encountered: