cacti icon indicating copy to clipboard operation
cacti copied to clipboard

test(ethereum): fix broken validations in tests

Open ashnashahgrover opened this issue 1 year ago • 2 comments

Refactor all the negative test case exception assertions for cactus-plugin-ledger-connector-ethereum 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: https://github.com/hyperledger/cacti/issues/3455

Acceptance Criteria Test passes the same as before Negative test case assertions have been migrated the way it is explained in the parent issue.

ashnashahgrover avatar Aug 12 '24 18:08 ashnashahgrover

This issue is now dependent on this issue:

https://github.com/hyperledger/cacti/issues/3487

ashnashahgrover avatar Aug 17 '24 15:08 ashnashahgrover

Issue is blocked by #3487 and #3507.

adrianbatuto avatar Dec 05 '24 05:12 adrianbatuto