'use strict';

require('babel-register')({
  presets: ['es2015']
});

var src = [
  'tests/lib/*.js',
  'tests/lib/parser/properties/*.js',
  'tests/lib/parser/l20n/*.js',
  'tests/lib/resolver/*.js',
  'tests/lib/context/*.js',
  'tests/lib/env/*.js',
];

module.exports = {
  dot: {
    options: {
      reporter: 'dot',
    },
    src: src,
  }
};

'use strict';

require('../node_modules/babel-core/register');

var src = [
  'tests/lib/*.js',
  'tests/lib/parser/properties/*.js',
  'tests/lib/parser/l20n/*.js',
  'tests/lib/resolver/*.js',
  'tests/lib/context/*.js',
  'tests/lib/env/*.js',
];

module.exports = {
  dot: {
    options: {
      reporter: 'dot',
    },
    src: src,
  }
};

--- 
+++ 
@@ -1,6 +1,8 @@
 'use strict';
 
-require('../node_modules/babel-core/register');
+require('babel-register')({
+  presets: ['es2015']
+});
 
 var src = [
   'tests/lib/*.js',
Make mocha work with babel6
