Skip to content

Conversation

james-toussaint
Copy link
Contributor

No description provided.

@james-toussaint james-toussaint self-assigned this Oct 23, 2024
@james-toussaint james-toussaint marked this pull request as ready for review October 23, 2024 13:32
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.58%. Comparing base (c738dbd) to head (6797637).
Report is 7 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #148   +/-   ##
========================================
  Coverage    84.58%   84.58%           
========================================
  Files           35       35           
  Lines         1077     1077           
  Branches       221      201   -20     
========================================
  Hits           911      911           
  Misses         166      166           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

async function createFakeErc734IdentityInstance() {
return await smock.fake<IERC734>(IERC734__factory);
}
/**
Copy link
Member

Choose a reason for hiding this comment

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

Note for the future:
I think we can declare variables such as proxyAddress, iexecPocoBoostInstance, iexecMaintenanceAsAdmin, ... outside of the describe block to put utility functions outside and keep only init and test functions inside describe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See Declare variables before top describe.
Yes, not sure which form we generally prefer, but at least this form reduces diff a bit in this context 👍 !

@james-toussaint james-toussaint merged commit 304b595 into develop Oct 24, 2024
5 checks passed
@james-toussaint james-toussaint deleted the feature/remove-smock-from-boost-unit-tests branch October 24, 2024 14:12
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.

3 participants