-
Notifications
You must be signed in to change notification settings - Fork 148
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
Refactor variables #1481
Refactor variables #1481
Conversation
Signed-off-by: Petar Tonev <[email protected]>
@@ -463,30 +463,30 @@ describe("TokenNftAllowances", function () { | |||
.approveTokenNftAllowanceAllSerials( | |||
nftTokenId, | |||
env.operatorId, | |||
spenderAccountId | |||
delegatingSpenderAccountId | |||
) | |||
.execute(env.client) | |||
).getReceipt(env.client); | |||
|
|||
const spenderClient = Client.forLocalNode().setOperator( |
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 makes the test executable only against localnode
. Also I don't see where we close the client.
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.
Both fixed with next commit
Signed-off-by: Petar Tonev <[email protected]>
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## develop #1481 +/- ##
===========================================
- Coverage 83.47% 83.39% -0.09%
===========================================
Files 295 295
Lines 73348 73348
===========================================
- Hits 61228 61165 -63
- Misses 12120 12183 +63
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
* refactor variables Signed-off-by: Petar Tonev <[email protected]> * refactor variables and use the same client Signed-off-by: Petar Tonev <[email protected]> --------- Signed-off-by: Petar Tonev <[email protected]>
Description:
Make variables clearer
Related issue(s):
Fixes #
Notes for reviewer:
Checklist