Skip to content

Instantly share code, notes, and snippets.

@pixelprodev
Created August 27, 2017 04:07
Show Gist options
  • Select an option

  • Save pixelprodev/633b0029c8c5c46c62f65297240b9e8e to your computer and use it in GitHub Desktop.

Select an option

Save pixelprodev/633b0029c8c5c46c62f65297240b9e8e to your computer and use it in GitHub Desktop.
wallaby config
module.exports = function (wallaby) {
return {
files: [
{pattern: 'src/**/*.js'},
{pattern: 'src/**/*.jsx'},
{pattern: 'src/**/*.spec.js', ignore: true},
{pattern: 'src/**/*.json', instrument: false}
],
tests: [
{pattern: 'src/**/*.spec.js'}
],
testFramework: 'jest',
env: {
type: 'node',
runner: 'node'
},
workers: {
recycle: false
},
compilers: {
'src/**/*.js': wallaby.compilers.babel(),
'src/**/*.jsx': wallaby.compilers.babel()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment