old_contents: module.exports = function (wallaby) {
    process.env.NODE_PATH += `:${require('path').join(wallaby.localProjectDir, 'node_modules')}`;
    return {
      files: [
        {pattern: 'test/**/*.spec.js*', ignore: true},
        {pattern: 'test/**/*.js'},
        {pattern: 'src/**', instrument: true},
        {pattern: 'src/**/*.spec.js*', ignore: true},
        {pattern: 'target/**/*.json', instrument: false},
        {pattern: 'templates/**', instrument: false},
        {pattern: 'index.js', instrument: true},
        {pattern: 'package.json', instrument: false}
      ],
  
      tests: [
        {pattern: 'test/**/*.spec.js*'},
        {pattern: 'src/**/*.spec.js*'},
      ],
  
      compilers: {
        '**/*.js*': wallaby.compilers.babel()
      },
  
      testFramework: 'mocha',
  
      setup(wallaby) {
        const mocha = wallaby.testFramework;
        mocha.timeout(30000);
        require('../../lib/ignore-extensions');
        require('../../lib/setup-dom');
      },
  
      env: {
        type: 'node',
        params: {
          env: `SRC_PATH=./src;NODE_ENV=test`
        }
      },
      workers: {
        initial: 1,
        regular: 1
      }
    };
  };
  
new_contents: module.exports = function (wallaby) {
    process.env.NODE_PATH += `:${require('path').join(wallaby.localProjectDir, 'node_modules')}`;
    return {
      files: [
        {pattern: 'test/**/*.spec.js*', ignore: true},
        {pattern: 'test/**/*.js'},
        {pattern: 'src/**', instrument: true},
        {pattern: 'src/**/*.spec.js*', ignore: true},
        {pattern: 'target/**/*.json', instrument: false},
        {pattern: 'templates/**', instrument: false},
        {pattern: 'index.js', instrument: true},
        {pattern: 'package.json', instrument: false}
      ],
  
      tests: [
        {pattern: 'test/**/*.spec.js*'},
        {pattern: 'src/**/*.spec.js*'},
      ],
  
      compilers: {
        '**/*.js*': wallaby.compilers.babel()
      },
  
      testFramework: 'mocha',
  
      setup(wallaby) {
        const mocha = wallaby.testFramework;
        mocha.timeout(30000);
        require('../../lib/ignore-extensions');
      },
  
      env: {
        type: 'node',
        params: {
          env: `SRC_PATH=./src;NODE_ENV=test`
        }
      },
      workers: {
        initial: 1,
        regular: 1
      }
    };
  };
  
subject: remove wallaby's setup-dom - it will be handled by project's tests