You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
479 B
24 lines
479 B
module.exports = function (wallaby) {
|
|
return {
|
|
files: [
|
|
'src/**/*.js',
|
|
'dist/**/*.js'
|
|
],
|
|
tests: [
|
|
'test/**/*.js'
|
|
],
|
|
env: {
|
|
type: 'node',
|
|
runner: 'node'
|
|
},
|
|
compilers: {
|
|
'+(src|test)/**/*.js': wallaby.compilers.babel({
|
|
presets: ['@babel/preset-env', '@ava/babel-preset-stage-4'],
|
|
plugins: ['@babel/plugin-proposal-object-rest-spread']
|
|
})
|
|
},
|
|
testFramework: 'ava',
|
|
debug: true
|
|
}
|
|
}
|