

var Babel = require('babel-core');

module.exports = function (wallaby) {

    return {
        files: [
            {
              pattern: 'src/tests/fixtures/*.js',
              instrument: false
            },
            'src/**/*.js',
            {
                pattern: 'src/tests/**/*.spec.js',
                ignore: true
            },
            {
              pattern: 'src/tests/fixtures/*.snapshot',
              instrument: false
            },
            {
                pattern: 'src/react-devtools/**/*.js',
                instrument: false
            },
            {
                pattern: 'src/tests/helpers/**/*.js',
                instrument: false
            },
            {
                pattern: 'src/react-devtools/frontend/**/*.js',
                ignore: true
            },
            {
                pattern: 'src/react-devtools/plugins/**/*.js',
                ignore: true
            }],

        tests: ['src/tests/testRenderer/**/*.spec.js'],
        env: {
            type: 'node',
            runner: 'node',
            workers: {
                recycle: false
            }
        },
      debug:true,

        compilers: {
            'src/**/*.js': wallaby.compilers.babel({
                babel: Babel
            }),
            'src/**/*.jsx': wallaby.compilers.babel({
                babel: Babel
            })
        }
    };
};
@@ -1071,77 +1071,8 @@
 ode'
-,%0A            workers: %7B%0A                recycle: false%0A            %7D
 %0A   

Allow wallaby worker recycling