Skip to content

Commit b3608eb

Browse files
author
Beau Shinkle
committed
s/units/seconds
1 parent 5b75130 commit b3608eb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/rewardsTest.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)