File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,14 +388,13 @@ describe("SortitionPool", () => {
388388
389389 await pool . connect ( owner ) . setRewardIneligibility ( [ bobID ] , now + 100 )
390390
391- await expect ( await pool . isEligibleForRewards ( bob . address ) ) . to . be . false
392- await expect ( await pool . isEligibleForRewards ( alice . address ) ) . to . be . true
391+ expect ( await pool . isEligibleForRewards ( bob . address ) ) . to . be . false
392+ expect ( await pool . isEligibleForRewards ( alice . address ) ) . to . be . true
393393
394- await expect ( await pool . canRestoreRewardEligibility ( bob . address ) ) . to . be
395- . false
396- await expect (
397- await pool . rewardsEligibilityRestorableAt ( bob . address ) ,
398- ) . to . equal ( now + 100 )
394+ expect ( await pool . canRestoreRewardEligibility ( bob . address ) ) . to . be . false
395+ expect ( await pool . rewardsEligibilityRestorableAt ( bob . address ) ) . to . equal (
396+ now + 100 ,
397+ )
399398
400399 await expect (
401400 pool . restoreRewardEligibility ( bob . address ) ,
@@ -406,10 +405,9 @@ describe("SortitionPool", () => {
406405 // eligible again.
407406 await helpers . time . increaseTime ( 101 )
408407
409- await expect ( await pool . canRestoreRewardEligibility ( bob . address ) ) . to . be
410- . true
408+ expect ( await pool . canRestoreRewardEligibility ( bob . address ) ) . to . be . true
411409 await pool . restoreRewardEligibility ( bob . address )
412- await expect ( await pool . isEligibleForRewards ( bob . address ) ) . to . be . true
410+ expect ( await pool . isEligibleForRewards ( bob . address ) ) . to . be . true
413411 } )
414412
415413 it ( "can set many operators ineligible" , async ( ) => {
You can’t perform that action at this time.
0 commit comments