mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
33 lines
783 B
JavaScript
33 lines
783 B
JavaScript
'use strict';
|
|
|
|
exports.config = {
|
|
allScriptsTimeout: 11000,
|
|
|
|
baseUrl: 'http://localhost:8000/build/docs/',
|
|
|
|
framework: 'jasmine',
|
|
|
|
onPrepare: function() {
|
|
/* global angular: false, browser: false, jasmine: false */
|
|
|
|
// Disable animations so e2e tests run more quickly
|
|
var disableNgAnimate = function() {
|
|
angular.module('disableNgAnimate', []).run(function($animate) {
|
|
$animate.enabled(false);
|
|
});
|
|
};
|
|
|
|
browser.addMockModule('disableNgAnimate', disableNgAnimate);
|
|
|
|
// Store the name of the browser that's currently being used.
|
|
browser.getCapabilities().then(function(caps) {
|
|
browser.params.browser = caps.get('browserName');
|
|
});
|
|
},
|
|
|
|
jasmineNodeOpts: {
|
|
defaultTimeoutInterval: 60000,
|
|
showTiming: true
|
|
}
|
|
};
|