mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 15:24:43 +00:00
test(doc:protractor): turn off animation for doc end to end tests to speed things up
This commit is contained in:
parent
ec59be67bc
commit
82213efff2
1 changed files with 11 additions and 0 deletions
|
|
@ -14,6 +14,17 @@ exports.config = {
|
||||||
|
|
||||||
framework: 'jasmine',
|
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: {
|
jasmineNodeOpts: {
|
||||||
defaultTimeoutInterval: 30000
|
defaultTimeoutInterval: 30000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue