mirror of
https://github.com/ansible/awx.git
synced 2026-08-01 18:39:54 -02:30
UI Unit Testing
Added plumbing for Karma test runner. Wrote first few tests for new license module.
This commit is contained in:
20
awx/ui/tests/karma-unit.conf
Normal file
20
awx/ui/tests/karma-unit.conf
Normal 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);
|
||||
};
|
||||
Reference in New Issue
Block a user