0b69f6fa98
Made tests pass again. Created entries.spec.js + made it pass. Added wallaby.config.js to support wallaby.js runner.
24 lines
362 B
JavaScript
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'
|
|
});
|