'use strict'

// Enable use of es2015 on required files
require('babel-register')({
  ignore: /node_modules/
})

// Require all JS files in `./specs`
require('require-dir')('./specs')

'use strict'

// Enable use of es2015 on required files
require('babel-register')({
  ignore: /node_modules/
})

// Attach Chai APIs to global scope
const { expect, should, assert } = require('chai')
global.expect = expect
global.should = should
global.assert = assert

// Require all JS files in `./specs` for Mocha to consume
require('require-dir')('./specs')

add chai APIs to global scope of e2e