Skip to content

Instantly share code, notes, and snippets.

View grndrth's full-sized avatar

Christina Grandrath grndrth

View GitHub Profile
@grndrth
grndrth / gist:e739883687b14f8b060b
Created October 12, 2015 19:27
Setting up Karma with Mocha, Chai, Babel, CommonJS. Everything else in karma.conf.js can be left at standard settings.
// Karma configuration
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter