-
Notifications
You must be signed in to change notification settings - Fork 14
Migrate IexecERC20Delegate unit tests #98
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #98 +/- ##
========================================
Coverage 83.00% 83.00%
========================================
Files 34 34
Lines 1077 1077
Branches 202 202
========================================
Hits 894 894
Misses 183 183 ☔ View full report in Codecov by Sentry. |
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.
Thanks !
it('Should get total supply', async () => { | ||
expect(await iexecPoco.totalSupply()).equal(totalSupplyBeforeFirstDeposit.add(value)); | ||
}); |
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.
This is also tested in IexecAccessors
. Let's choose one of them.
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.
I would say both tests makes sense, here for instance testing https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol
No description provided.