hyperledger-cacti/cacti

test: fix all broken validations in packages folder

Opened this issue · 1 comments

Describe the bug

Two tests are failing in the packages folder:

- From packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/deploy-contract-from-json-xdai.test.ts:

  1. test("invoke Web3SigningCredentialType.PrivateKeyHex") and
  2. test("invoke Web3SigningCredentialType.CACTUSKEYCHAINREF")

To Reproduce

Run these tests in run and debug and note the failing tests in the terminal output.

Expected behavior

The failing tests should pass - contingent upon the jest assertions in those tests also passing. If the test description says the specific function called should return an error, it should return an error and not a resolved promise.