Skip to content

Instantly share code, notes, and snippets.

@TylorS
Last active Dec 5, 2015
Embed
What would you like to do?
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