Skip to content

Tests: Fix solidity tests#616

Merged
facuspagnuolo merged 6 commits intonextfrom
fix_solidity_tests
Aug 25, 2020
Merged

Tests: Fix solidity tests#616
facuspagnuolo merged 6 commits intonextfrom
fix_solidity_tests

Conversation

@facuspagnuolo
Copy link
Contributor

No description provided.

@facuspagnuolo facuspagnuolo self-assigned this Aug 25, 2020
@auto-assign auto-assign bot requested review from izqui and sohkai August 25, 2020 19:17
const receipt = await deployed[interface.name]()
processResult(receipt, false)
})
global[HOOKS_MAP[interface.name]](async () => await deployed[interface.name]())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, double checking here, does this fail properly if one of the hooks throws?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case some of these reverts, it throws. Note that previously processResult was called with mustAssert set to false always, therefore no assertions were actually being made, we were simply executing calls

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #616 into next will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next     #616   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files          36       36           
  Lines         555      555           
  Branches       74       74           
=======================================
  Hits          551      551           
  Misses          4        4           
Flag Coverage Δ
#unittests 99.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce960e2...fad0967. Read the comment docs.

@facuspagnuolo facuspagnuolo merged commit 6c56874 into next Aug 25, 2020
@facuspagnuolo facuspagnuolo deleted the fix_solidity_tests branch August 25, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants