MintableToken.test.js 396 B

123456789101112
  1. const { shouldBehaveLikeMintableToken } = require('./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. });