static-cms/wallaby.config.js
2016-09-22 17:20:05 +02:00

25 lines
399 B
JavaScript

process.env.BABEL_ENV = 'test';
module.exports = wallaby => ({
files: [
{ pattern: 'src/**/*.js' },
{ pattern: 'src/**/*.js.snap' },
{ pattern: 'src/**/*.spec.js', ignore: true }
],
tests: [
{ pattern: 'src/**/*.spec.js' }
],
compilers: {
'src/**/*.js': wallaby.compilers.babel()
},
env: {
type: 'node',
runner: 'node'
},
testFramework: 'jest'
});