onflow / hybrid-custody

Cadence suite enabling Hybrid Custody on Flow
Apache License 2.0
16 stars 12 forks source link

update .getCapability() to return nil if cap disallowed + tests #160

Closed sisyphusSmiling closed 1 year ago

sisyphusSmiling commented 1 year ago

Closes: #159

codecov-commenter commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (84ab4b8) 83.95% compared to head (8c1297a) 83.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #160 +/- ## ======================================= Coverage 83.95% 83.95% ======================================= Files 4 4 Lines 349 349 ======================================= Hits 293 293 Misses 56 56 ``` | [Files](https://app.codecov.io/gh/onflow/hybrid-custody/pull/160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | Coverage Δ | | |---|---|---| | [contracts/HybridCustody.cdc](https://app.codecov.io/gh/onflow/hybrid-custody/pull/160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow#diff-Y29udHJhY3RzL0h5YnJpZEN1c3RvZHkuY2Rj) | `81.54% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.