2016-09-20 14:00:03 +02:00
|
|
|
process.env.BABEL_ENV = 'test';
|
|
|
|
|
|
|
|
module.exports = wallaby => ({
|
|
|
|
files: [
|
|
|
|
{ pattern: 'src/**/*.js' },
|
2016-09-22 17:20:05 +02:00
|
|
|
{ pattern: 'src/**/*.js.snap' },
|
2016-09-20 14:00:03 +02:00
|
|
|
{ pattern: 'src/**/*.spec.js', ignore: true }
|
|
|
|
],
|
|
|
|
|
|
|
|
tests: [
|
|
|
|
{ pattern: 'src/**/*.spec.js' }
|
|
|
|
],
|
|
|
|
|
|
|
|
compilers: {
|
|
|
|
'src/**/*.js': wallaby.compilers.babel()
|
|
|
|
},
|
|
|
|
|
|
|
|
env: {
|
|
|
|
type: 'node',
|
|
|
|
runner: 'node'
|
|
|
|
},
|
|
|
|
|
|
|
|
testFramework: 'jest'
|
|
|
|
});
|