Skip to content

Instantly share code, notes, and snippets.

@TylorS
Last active December 5, 2015 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TylorS/d919bccf408f71f94953 to your computer and use it in GitHub Desktop.
Save TylorS/d919bccf408f71f94953 to your computer and use it in GitHub Desktop.
var babel = require('babel-core')
module.exports = function (wallaby) {
return {
// set `load: false` to all of the browserified source files and tests,
// as they should not be loaded in browser,
// their browserified versions will be loaded instead
files: [
{pattern: 'src/**/*.js', load: true}
],
tests: [
{pattern: 'test/**/*.js', load: true}
],
compilers: {
"**/*.js": wallaby.compilers.babel({
babel: babel,
presets: [
'es2015'
]
})
},
env: {
type: 'node'
},
testFramework: 'mocha',
debug: true
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment