File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,15 +245,16 @@ describe("Rewards", () => {
245245 // Alice: 10; Bob: 90
246246 await rewards . payReward ( 100 )
247247
248- // Make Bob ineligible for 10 units of time
248+ // Make Bob ineligible for 10 seconds
249249 await rewards . makeIneligible ( bob , 10 )
250250
251251 // Reward only to Alice
252252 // Alice: 20; Bob: 90; Ineligible: 90
253253 await rewards . payReward ( 100 )
254254
255- // Ineligibility is set for a duration. Bob was ineligible for 10 units,
256- // so we move forward 11 units to allow us to make him eligible again.
255+ // Ineligibility is set for a duration. Bob was ineligible for 10
256+ // seconds, so we move forward 11 seconds to allow us to make him
257+ // eligible again.
257258 await helpers . time . increaseTime ( 11 )
258259
259260 await rewards . makeEligible ( bob )
You can’t perform that action at this time.
0 commit comments