264819a308
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.
21 lines
541 B
JavaScript
21 lines
541 B
JavaScript
'use strict';
|
|
|
|
var sharedConfig = require('./karma-shared.conf');
|
|
|
|
module.exports = function(config) {
|
|
sharedConfig(config, {testName: 'AngularJS: isolated module tests', logFile: 'karma-modules-isolated.log'});
|
|
|
|
config.set({
|
|
files: [
|
|
'build/angular.js',
|
|
'build/angular-mocks.js',
|
|
'test/modules/no_bootstrap.js',
|
|
'test/helpers/matchers.js',
|
|
'test/helpers/privateMocks.js',
|
|
'test/helpers/support.js',
|
|
'test/helpers/testabilityPatch.js',
|
|
'build/test-bundles/angular-*.js'
|
|
]
|
|
});
|
|
};
|