-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add unit tests for internal _debit function
#66
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
…etup in TestUtils
…hain functionality
…rZeroBridge _credit tests
…s-for-_mint-function
…/add-unit-tests-for-_debit-function
_debit function #62
…-function' into feature/add-unit-tests-for-_debit-function
…or paused transfers
…/add-unit-tests-for-_debit-function
_debit function #62_debit function
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #66 +/- ##
=======================================
Coverage 83.78% 83.78%
=======================================
Files 4 4
Lines 111 111
Branches 7 7
=======================================
Hits 93 93
Misses 17 17
Partials 1 1 ☔ View full report in Codecov by Sentry. |
zguesmi
left a comment
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.
We need to test the slippage mechanism. Check that _debit reverts with SlippageExceeded when the slippage amount is exceeded.
… to remove dust from amounts
|
Added test for slippage exceedance : Commit: e9741ff |
Co-authored-by: Zied Guesmi <[email protected]>
No description provided.