Created
January 1, 2016 23:29
-
-
Save bradharms/16f60fb1e03092d67da1 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
const PWD = process.cwd(); | |
const BASEDIR = `${PWD}/spec`; | |
module.exports = config => config.set({ | |
logLevel: config.LOG_INFO, | |
frameworks: ['browserify', 'jasmine'], | |
files: [`${BASEDIR}/stuff.karma.js`], | |
// files: [`${BASEDIR}/**/+([^.]|*.karma).js`], | |
browsers: ['PhantomJS'], | |
singleRun: true, | |
preprocessors: { | |
[`${BASEDIR}/stuff.karma.js`]: ['browserify'], | |
// [`${BASEDIR}/**/*.js`]: ['browserify'], | |
}, | |
browserify: { | |
debug: true, | |
transform: ['babelify'], | |
extensions: ['.js', '.json', '.jsx'], | |
}, | |
watchify: { | |
poll: true, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment