2013-06-25 18:48:10 +00:00
|
|
|
var sharedConfig = require('./karma-shared.conf');
|
2012-08-30 08:10:28 +00:00
|
|
|
|
2013-06-25 18:48:10 +00:00
|
|
|
module.exports = function(config) {
|
2013-08-21 10:16:57 +00:00
|
|
|
sharedConfig(config, {testName: 'AngularJS: e2e', logFile: 'karma-e2e.log'});
|
2012-08-30 08:10:28 +00:00
|
|
|
|
2013-06-25 18:48:10 +00:00
|
|
|
config.set({
|
|
|
|
|
frameworks: [],
|
|
|
|
|
files: [
|
|
|
|
|
'build/angular-scenario.js',
|
|
|
|
|
'node_modules/karma-ng-scenario/lib/adapter.js',
|
|
|
|
|
'build/docs/docs-scenario.js'
|
|
|
|
|
],
|
2012-08-30 08:10:28 +00:00
|
|
|
|
2013-06-25 18:48:10 +00:00
|
|
|
proxies: {
|
|
|
|
|
// angular.js, angular-resource.js, etc
|
|
|
|
|
'/angular': 'http://localhost:8000/build/angular',
|
|
|
|
|
'/': 'http://localhost:8000/build/docs/'
|
|
|
|
|
},
|
2012-09-20 04:57:03 +00:00
|
|
|
|
2013-06-25 18:48:10 +00:00
|
|
|
junitReporter: {
|
|
|
|
|
outputFile: 'test_out/e2e.xml',
|
|
|
|
|
suite: 'E2E'
|
2013-12-04 01:55:52 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
browserNoActivityTimeout: 90000
|
2013-06-25 18:48:10 +00:00
|
|
|
});
|
2012-09-20 04:57:03 +00:00
|
|
|
};
|