Skip to content

Instantly share code, notes, and snippets.

@stationkeeping
stationkeeping / karma.conf.js
Created October 16, 2013 16:25
Karma configuration example. Includes lodash, fix for no initial mocks, app base path and use PhantomJS for running tests.
// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: 'app',
// testing framework to use (jasmine/mocha/qunit/...)
frameworks: ['jasmine'],