Tero Parviainen ec4c1edff4 docs(upgrade): add E2E tests, update PhoneCat dependencies
closes #1070
Separates UpgradeAdapter reference guide examples from the PhoneCat tutorial examples
and update dependencies for phonecat upgrade examples
2016-04-11 12:40:09 -07:00

39 lines
966 B
JavaScript

module.exports = function(config){
config.set({
basePath : '..',
// #docregion files
files : [
'app/bower_components/angular/angular.js',
'app/bower_components/angular-route/angular-route.js',
'app/bower_components/angular-resource/angular-resource.js',
'app/bower_components/angular-animate/angular-animate.js',
'app/bower_components/angular-mocks/angular-mocks.js',
'node_modules/systemjs/dist/system.src.js',
'test/karma_test_shim.js',
{pattern: 'app/js/**/*.js', included: false, watched: true},
{pattern: 'test/unit/**/*.js', included: false, watched: true}
],
// #enddocregion files
autoWatch : true,
frameworks: ['jasmine'],
browsers : ['Chrome', 'Firefox'],
plugins : [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine'
],
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};