* Test helpers no longer rely on Babel. * Behaviours are no longer imported. * Removed Babel dependency. * Fixed linter errors.
12 lines
279 B
JavaScript
12 lines
279 B
JavaScript
const { shouldBehaveLikeOwnable } = require('./Ownable.behaviour');
|
|
|
|
const Ownable = artifacts.require('Ownable');
|
|
|
|
contract('Ownable', function (accounts) {
|
|
beforeEach(async function () {
|
|
this.ownable = await Ownable.new();
|
|
});
|
|
|
|
shouldBehaveLikeOwnable(accounts);
|
|
});
|