static-cms/wallaby.config.js

24 lines
362 B
JavaScript
Raw Normal View History

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