d2a492ec15
* Updated PyOpenSSL package requirement as the version (0.13) we were using before is causing issues in the new gate images being used as this version won't build against newer versions of OpenSSL. * Removed PhantomJS as a testing requirement. PhantomJS has setup issues and causes npm jobs to consistently fail. Change-Id: I2d7b293da2c00f22c96ab75d8ee24214dfe7c99c
47 lines
1.2 KiB
JavaScript
47 lines
1.2 KiB
JavaScript
module.exports = function (config) {
|
|
'use strict';
|
|
|
|
config.set({
|
|
|
|
basePath: '../',
|
|
|
|
files: [
|
|
// Angular libraries.
|
|
'app/assets/lib/angular/angular.js',
|
|
'app/assets/lib/angular-ui-router/release/angular-ui-router.js',
|
|
'app/assets/lib/angular-mocks/angular-mocks.js',
|
|
'app/assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js',
|
|
'app/assets/lib/angular-busy/dist/angular-busy.min.js',
|
|
'app/assets/lib/angular-resource/angular-resource.min.js',
|
|
'app/assets/lib/angular-confirm-modal/angular-confirm.js',
|
|
// JS files.
|
|
'app/app.js',
|
|
'app/components/**/*.js',
|
|
'app/shared/*.js',
|
|
'app/shared/**/*.js',
|
|
'app/assets/js/*.js',
|
|
|
|
// Test Specs.
|
|
'tests/unit/*.js'
|
|
],
|
|
|
|
autoWatch: true,
|
|
|
|
frameworks: ['jasmine'],
|
|
|
|
browsers: ['Firefox', 'Chrome'],
|
|
|
|
plugins: [
|
|
'karma-chrome-launcher',
|
|
'karma-firefox-launcher',
|
|
'karma-jasmine'
|
|
],
|
|
|
|
junitReporter: {
|
|
outputFile: 'test_out/unit.xml',
|
|
suite: 'unit'
|
|
}
|
|
|
|
});
|
|
};
|