Skip to content

Commit

Permalink
add pending tests
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Aug 29, 2017
1 parent db41a2e commit 51dec77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/TokenVesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
balance.should.bignumber.equal(amount.mul(releaseTime - this.start).div(this.end - this.start).floor());
});

it('should linearly release tokens during vesting period');

it('should have released all after end', async function () {
await increaseTimeTo(this.end);
await this.vesting.release(this.token.address);
const balance = await this.token.balanceOf(beneficiary);
balance.should.bignumber.equal(amount);
});

it('should fail to be revoked by owner if revocable not set');

it('should be emptied when revoked by owner');

});

0 comments on commit 51dec77

Please sign in to comment.