* Test helpers no longer rely on Babel. * Behaviours are no longer imported. * Removed Babel dependency. * Fixed linter errors.
13 lines
396 B
JavaScript
13 lines
396 B
JavaScript
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
|
const MintableToken = artifacts.require('MintableToken');
|
|
|
|
contract('MintableToken', function ([owner, anotherAccount]) {
|
|
const minter = owner;
|
|
|
|
beforeEach(async function () {
|
|
this.token = await MintableToken.new({ from: owner });
|
|
});
|
|
|
|
shouldBehaveLikeMintableToken([owner, anotherAccount, minter]);
|
|
});
|