Skip to content

Instantly share code, notes, and snippets.

@lgandecki
Created March 1, 2017 10:40
Show Gist options
  • Save lgandecki/6738bfbf10435a21b3118e0e42508d89 to your computer and use it in GitHub Desktop.
Save lgandecki/6738bfbf10435a21b3118e0e42508d89 to your computer and use it in GitHub Desktop.
const path = require('path');
module.exports = function (wallaby) {
return {
files: ['src/*.js'],
tests: ['src/tests/*.test.js'],
env: {
type: 'node',
runner: path.resolve(process.env.HOME, '.nvm/versions/node/v4.4.0/bin/node'),
},
compilers: {
'**/*.js': wallaby.compilers.babel({
presets: ['es2015', 'react', "stage-1"]
})
},
testFramework: 'jest'
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment