added awaits (#845)

pull/844/head^2
Alejo Salles 7 years ago committed by Francisco Giordano
parent 9bc43c8d0f
commit 42787e2a75
  1. 4
      test/crowdsale/IndividuallyCappedCrowdsale.test.js

@ -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);
});

Loading…
Cancel
Save