Uh oh!
There was an error while loading. Please reload this page.
Rename executePoll -> _executePoll + stopPollingByNetworkClientId -> stopPollingByPollingToken - #1810
Conversation
9a4214b to
41c4258Compare
mcmire
left a comment
There was a problem hiding this comment.
The new names make sense! I just had some suggestions on further communicating that _executePoll is private, and for being consistent internally in treating this method as though it were truly private.
There was a problem hiding this comment.
Do we want to keep these tests if we are essentially making this method private? We don't conventionally test private code; we should be able to rename this method now without the tests breaking. Is there some other place we could move these tests to?
There was a problem hiding this comment.
removed this block and moved the test into the startPollingByNetworkClientId test block: 7a40412
There was a problem hiding this comment.
removed this block and moved the test into the startPollingByNetworkClientId test block: 7a40412
There was a problem hiding this comment.
Hmm, I see the changes for TokenListController, those look great — do we want to do the same for this controller?
There was a problem hiding this comment.
sorry whoops so in that commit I linked I moved some of the logic into the existing startPollingByNetworkClientId test but forgot to remove this block. That removal is done here: b9502fc
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
9f870a6 to
7a40412Compare
Fast-follow to #1776, just a few (breaking) naming cleanups
CHANGED
executePollrenamed to_executePollstopPollingByNetworkClientIdrenamed tostopPollingByPollingToken