-
-
Save adamrights/cfccdd21ffa4638033f3 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
module.exports = function(config) { | |
config.set({ | |
frameworks: ['browserify', 'mocha', 'chai'], | |
//specify browserify preproccesor so we can use server-side components | |
preprocessors: { | |
'test/*' : ['browserify'] | |
}, | |
//configure browserify preprocessor to use reactify to parse JSX | |
browserify: { | |
debug: true, | |
transform: ['reactify'] | |
}, | |
// list of files / patterns to load in the browser | |
files: [ | |
'test/*.shim.js', | |
'test/*.jsx' | |
], | |
browsers: ['PhantomJS'], | |
singleRun: false, | |
reporters: ['progress'], | |
port: 9876, | |
colors: true, | |
logLevel: config.LOG_INFO, | |
autoWatch: true | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment