parent
888dcf362a
commit
9b2c54e77f
@ -71,6 +71,14 @@ exports.config = {
|
|||||||
global.setProtractorToNg1Mode = function() {
|
global.setProtractorToNg1Mode = function() {
|
||||||
browser.useAllAngular2AppRoots = false;
|
browser.useAllAngular2AppRoots = false;
|
||||||
browser.rootEl = 'body';
|
browser.rootEl = 'body';
|
||||||
|
|
||||||
|
var disableNgAnimate = function() {
|
||||||
|
angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
|
||||||
|
$animate.enabled(false);
|
||||||
|
}]);
|
||||||
|
};
|
||||||
|
|
||||||
|
browser.addMockModule('disableNgAnimate', disableNgAnimate);
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user