Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Add tests to decode error results #366

Merged
merged 6 commits into from
Jan 5, 2023

Commits on Jan 4, 2023

  1. Add getOperationResults to clients to make it easier to decode operat…

    …ion errors.
    
    Change existing contract test case to use getOperationResults.
    Add typemoq to allow typed mocking.
    Bump clients patch version.
    jacque006 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    f66fa37 View commit details
    Browse the repository at this point in the history
  2. Address PR feedback

    Remove Typemoq
    Fix encoding error for test
    Remove number of  events check in getOperationResults
    Remove other event test case
    jacque006 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    9c552dc View commit details
    Browse the repository at this point in the history
  3. Add nyc test coverage tool

    jacque006 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    1b95731 View commit details
    Browse the repository at this point in the history
  4. Finish test coverage of OperationResults

    Add html output to nyc test coverage to more easily find gaps.
    jacque006 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ee5f044 View commit details
    Browse the repository at this point in the history
  5. Address additional PR feedback

    Remove unnecessary unknown casts.
    Split test error encoding functions into one for strings and one for abi encoded messages.
    Remove magic numbers/slicing to extract error action data and properly generate instead.
    jacque006 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    2f4d91e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f4064e View commit details
    Browse the repository at this point in the history