Last active
April 13, 2017 10:36
-
-
Save kisenka/72de2b16411ca996a6a203e818c4dfaa to your computer and use it in GitHub Desktop.
This file contains 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
module.exports = (wallaby) => { | |
const config = { | |
files: [ | |
{ pattern: 'lib/*.js' }, | |
{ pattern: 'lib/**/*.js' }, | |
{ pattern: 'test/tests-*.js', instrument: false } | |
], | |
tests: [ | |
{ pattern: 'test/*.test.js' } | |
], | |
testFramework: 'mocha', | |
env: { | |
type: 'node', | |
params: { | |
env: 'WALLABY_NODE=/Users/kisenka/.nvm/versions/node/v7.9.0/bin/node' | |
}, | |
runner: '/Users/kisenka/.nvm/versions/node/v7.9.0/bin/node' | |
}, | |
// eslint-disable-next-line no-shadow | |
setup: (wallaby) => { | |
const mocha = wallaby.testFramework; | |
mocha.ui('bdd'); | |
} | |
}; | |
return config; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment