* Test helpers no longer rely on Babel. * Behaviours are no longer imported. * Removed Babel dependency. * Fixed linter errors.
13 lines
397 B
JavaScript
13 lines
397 B
JavaScript
const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behaviour');
|
|
const BurnableTokenMock = artifacts.require('BurnableTokenMock');
|
|
|
|
contract('BurnableToken', function ([owner]) {
|
|
const initialBalance = 1000;
|
|
|
|
beforeEach(async function () {
|
|
this.token = await BurnableTokenMock.new(owner, initialBalance);
|
|
});
|
|
|
|
shouldBehaveLikeBurnableToken([owner], initialBalance);
|
|
});
|