@vladholubiev/generator-nm
Version:
Scaffold out a node module with jest, yarn and wallaby
21 lines (20 loc) • 312 B
JavaScript
module.exports = () => {
return {
testFramework: 'jest',
files: [
'package.json',
'index.js',
'!index.test.js'
],
tests: [
'index.test.js'
],
env: {
type: 'node',
runner: 'node'
},
setup(wallaby) {
wallaby.testFramework.configure(require('./package.json').jest);
}
};
};