MintableToken.test.js 371 B

12345678910
  1. const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
  2. const MintableToken = artifacts.require('MintableToken');
  3. contract('MintableToken', function ([_, owner, ...otherAccounts]) {
  4. beforeEach(async function () {
  5. this.token = await MintableToken.new({ from: owner });
  6. });
  7. shouldBehaveLikeMintableToken(owner, owner, otherAccounts);
  8. });