static-cms/wallaby.config.js
Andrey Okonetchnikov 0b69f6fa98 Switched to Jest testing framework.
Made tests pass again. Created entries.spec.js + made it pass.
Added wallaby.config.js to support wallaby.js runner.
2016-09-20 14:00:03 +02:00

24 lines
362 B
JavaScript

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'
});