Last active
November 27, 2015 20:28
-
-
Save mgrandrath/1f8fc323e5d03982e3a7 to your computer and use it in GitHub Desktop.
Karma configuration for letscodejavascript.com
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
var karmaCommon = require("./karma-common.js"); | |
module.exports = function(config) { | |
"use strict"; | |
config.set(Object.assign({}, karmaCommon, { | |
port: 9876, | |
basePath: '../../', | |
files: [ | |
'src/client/js/**/*.js', | |
'src/shared/**/*.js' | |
], | |
exclude: [], | |
preprocessors: { | |
'src/client/js/**/*.js': [ 'commonjs' ], | |
'src/shared/**/*.js': [ 'commonjs' ], | |
'src/shared/vendor/proclaim-2.0.0.js': [ 'commonjs' ] | |
} | |
})); | |
}; |
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 = { | |
frameworks: [ 'mocha', 'commonjs' ], | |
reporters: [ 'dots' ], | |
colors: true, | |
logLevel: config.LOG_INFO, | |
autoWatch: false, | |
browsers: [], | |
captureTimeout: 60000, | |
singleRun: false | |
}; |
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
var karmaCommon = require("./karma-common.js"); | |
module.exports = function(config) { | |
"use strict"; | |
config.set(Object.assign({}, karmaCommon, { | |
port: 9877, | |
basePath: '../../', | |
files: [ | |
'src/client/content/**/*.js', | |
'src/shared/vendor/proclaim-2.0.0.js', | |
{ pattern: 'src/client/content/vendor/normalize-3.0.2.css', included: false }, | |
{ pattern: 'src/client/content/screen.css', included: false }, | |
{ pattern: 'src/client/content/index.html', included: false }, | |
{ pattern: 'src/client/content/404.html', included: false } | |
], | |
exclude: [], | |
preprocessors: { | |
'src/client/content/**/*.js': [ 'commonjs' ], | |
'src/client/content/vendor/quixote-0.9.0.js': [ 'commonjs' ], | |
'src/shared/vendor/proclaim-2.0.0.js': [ 'commonjs' ] | |
} | |
})); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment