mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
31 lines
630 B
JavaScript
31 lines
630 B
JavaScript
exports.config = {
|
|
allScriptsTimeout: 11000,
|
|
|
|
specs: [
|
|
'build/docs/ptore2e/**/*.js',
|
|
'test/e2e/docsAppE2E.js'
|
|
],
|
|
|
|
capabilities: {
|
|
'browserName': 'chrome'
|
|
},
|
|
|
|
baseUrl: 'http://localhost:8000/build/docs/',
|
|
|
|
framework: 'jasmine',
|
|
|
|
onPrepare: function() {
|
|
// Disable animations so e2e tests run more quickly
|
|
var disableNgAnimate = function() {
|
|
angular.module('disableNgAnimate', []).run(function($animate) {
|
|
$animate.enabled(false);
|
|
});
|
|
};
|
|
|
|
browser.addMockModule('disableNgAnimate', disableNgAnimate);
|
|
},
|
|
|
|
jasmineNodeOpts: {
|
|
defaultTimeoutInterval: 30000
|
|
}
|
|
};
|