23e4138c07
SauceLabs is struggling to keep connecting and disconnecting for each of the modules unit test runs. This commit puts most of the module tests into IIFEs so that they can be run in one go. * ngMock is still tested separately since unlike the other tests it doesn't want to have a pre-built version of ngMock available. * ngAnimate is still tested separately because it does some funny things with globals that were difficult to isolate in the main modules test run.
13 lines
354 B
JavaScript
13 lines
354 B
JavaScript
'use strict';
|
|
|
|
var angularFiles = require('./angularFiles');
|
|
var sharedConfig = require('./karma-shared.conf');
|
|
|
|
module.exports = function(config) {
|
|
sharedConfig(config, {testName: 'AngularJS: isolated module tests (ngMock)', logFile: 'karma-ngMock-isolated.log'});
|
|
|
|
config.set({
|
|
files: angularFiles.mergeFilesFor('karmaModules-ngMock')
|
|
});
|
|
};
|