We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5254cbd commit e263650Copy full SHA for e263650
test/Lock.js
@@ -99,9 +99,7 @@ describe("Lock", function () {
99
const { lock, unlockTime, lockedAmount } = await loadFixture(
100
deployOneYearLockFixture
101
);
102
-
103
await time.increaseTo(unlockTime);
104
105
await expect(lock.withdraw())
106
.to.emit(lock, "Withdrawal")
107
.withArgs(lockedAmount, anyValue); // We accept any value as `when` arg
@@ -113,9 +111,7 @@ describe("Lock", function () {
113
111
const { lock, unlockTime, lockedAmount, owner } = await loadFixture(
114
112
115
116
117
118
119
await expect(lock.withdraw()).to.changeEtherBalances(
120
[owner, lock],
121
[lockedAmount, -lockedAmount]
0 commit comments