/* eslint global-require: 0 */ /* eslint import/no-extraneous-dependencies: 0 */ process.env.BABEL_ENV = 'test'; module.exports = wallaby => ({ files: [ 'package.json', 'src/**/*.js', 'src/**/*.js.snap', '!src/**/*.spec.js', { pattern: 'src/**/*.css', instrument: false }, { pattern: '__mocks__/*.js', instrument: false }, ], tests: ['src/**/*.spec.js'], compilers: { 'src/**/*.js': wallaby.compilers.babel(), }, env: { type: 'node', runner: 'node', params: { runner: '--harmony_proxies', }, }, testFramework: 'jest', setup: () => { wallaby.testFramework.configure(require('./package.json').jest); }, });