Remove Babel (#1074)

* Test helpers no longer rely on Babel.

* Behaviours are no longer imported.

* Removed Babel dependency.

* Fixed linter errors.
This commit is contained in:
Nicolás Venturo
2018-07-18 19:37:16 -03:00
committed by GitHub
parent 99e4b081dc
commit cea2a85a42
86 changed files with 308 additions and 252 deletions

View File

@ -1,4 +1,4 @@
import makeInterfaceId from '../helpers/makeInterfaceId';
const { makeInterfaceId } = require('../helpers/makeInterfaceId');
const INTERFACE_IDS = {
ERC165: makeInterfaceId([
@ -30,7 +30,7 @@ const INTERFACE_IDS = {
]),
};
export default function (interfaces = []) {
function shouldSupportInterfaces (interfaces = []) {
describe('ERC165\'s supportsInterface(bytes4)', function () {
beforeEach(function () {
this.thing = this.mock || this.token;
@ -52,3 +52,7 @@ export default function (interfaces = []) {
}
});
}
module.exports = {
shouldSupportInterfaces,
};