MintableToken.test.js 387 B

123456789101112
  1. import shouldBehaveLikeMintableToken from './MintableToken.behaviour';
  2. const MintableToken = artifacts.require('MintableToken');
  3. contract('MintableToken', function ([owner, anotherAccount]) {
  4. const minter = owner;
  5. beforeEach(async function () {
  6. this.token = await MintableToken.new({ from: owner });
  7. });
  8. shouldBehaveLikeMintableToken([owner, anotherAccount, minter]);
  9. });