Skip to content

Commit

Permalink
added awaits (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiiiu authored and frangio committed Mar 27, 2018
1 parent 9bc43c8 commit 42787e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/crowdsale/IndividuallyCappedCrowdsale.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ contract('IndividuallyCappedCrowdsale', function ([_, wallet, alice, bob, charli
beforeEach(async function () {
this.token = await SimpleToken.new();
this.crowdsale = await CappedCrowdsale.new(rate, wallet, this.token.address);
this.crowdsale.setUserCap(alice, capAlice);
this.crowdsale.setUserCap(bob, capBob);
await this.crowdsale.setUserCap(alice, capAlice);
await this.crowdsale.setUserCap(bob, capBob);
await this.token.transfer(this.crowdsale.address, tokenSupply);
});

Expand Down

0 comments on commit 42787e2

Please sign in to comment.