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.
This commit is contained in:
23
wallaby.config.js
Normal file
23
wallaby.config.js
Normal file
@ -0,0 +1,23 @@
|
||||
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'
|
||||
});
|
Reference in New Issue
Block a user