-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests: Fix solidity tests #616
Conversation
const receipt = await deployed[interface.name]() | ||
processResult(receipt, false) | ||
}) | ||
global[HOOKS_MAP[interface.name]](async () => await deployed[interface.name]()) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 Report
@@ Coverage Diff @@
## next #616 +/- ##
=======================================
Coverage 99.27% 99.27%
=======================================
Files 36 36
Lines 555 555
Branches 74 74
=======================================
Hits 551 551
Misses 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
No description provided.