Skip to content

Commit e263650

Browse files
authored
Update Lock.js
1 parent 5254cbd commit e263650

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/Lock.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ describe("Lock", function () {
9999
const { lock, unlockTime, lockedAmount } = await loadFixture(
100100
deployOneYearLockFixture
101101
);
102-
103102
await time.increaseTo(unlockTime);
104-
105103
await expect(lock.withdraw())
106104
.to.emit(lock, "Withdrawal")
107105
.withArgs(lockedAmount, anyValue); // We accept any value as `when` arg
@@ -113,9 +111,7 @@ describe("Lock", function () {
113111
const { lock, unlockTime, lockedAmount, owner } = await loadFixture(
114112
deployOneYearLockFixture
115113
);
116-
117114
await time.increaseTo(unlockTime);
118-
119115
await expect(lock.withdraw()).to.changeEtherBalances(
120116
[owner, lock],
121117
[lockedAmount, -lockedAmount]

0 commit comments

Comments
 (0)