UI Unit Testing

Added plumbing for Karma test runner. Wrote first few tests for new license module.
This commit is contained in:
Chris Houseknecht
2014-08-05 02:43:30 -04:00
parent 07b9f6b12c
commit 9799e81f09
14 changed files with 3391 additions and 885 deletions

View File

@@ -0,0 +1,20 @@
// Karma configuration
// Generated on Mon Aug 04 2014 21:17:04 GMT-0400 (EDT)
var sharedConfig = require('./karma-shared.conf');
module.exports = function(config) {
var conf = sharedConfig();
// list of files / patterns to load in the browser
conf.files = conf.files.concat([
'../static/lib/angular-mocks/angular-mocks.js',
'./unit/*'
]);
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
conf.logLevel = config.LOG_INFO,
config.set(conf);
};