Since no tests were added to ensure that rewardsStartTime is reset to zero when staking.getAVAXValidatingHighWater(owner) == 0 && staking.getAVAXAssigned(owner) == 0, I have added the missing assertion to improve test coverage, which is a crucial affirmation after all for the ultimate purpose of the mitigated efforts, i.e. resetting rewards start time in cancel minipool:
Since no tests were added to ensure that
rewardsStartTime
is reset to zero whenstaking.getAVAXValidatingHighWater(owner) == 0 && staking.getAVAXAssigned(owner) == 0
, I have added the missing assertion to improve test coverage, which is a crucial affirmation after all for the ultimate purpose of the mitigated efforts, i.e. resetting rewards start time in cancel minipool: