Last active
December 5, 2015 03:26
-
-
Save TylorS/d919bccf408f71f94953 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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