aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-18 10:41:02 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-04-18 10:41:02 +0200
commit5900e46f01b41b0cc493990cc72fa553db70b7a5 (patch)
tree91523d1595e7000946290db0ec086b343c158ad6 /core/js/tests
parent3e1f1ccc76a5be0e0b584569824756ad9d1669f6 (diff)
downloadnextcloud-server-5900e46f01b41b0cc493990cc72fa553db70b7a5.tar.gz
nextcloud-server-5900e46f01b41b0cc493990cc72fa553db70b7a5.zip
Turn off jQuery animations when testing
Diffstat (limited to 'core/js/tests')
-rw-r--r--core/js/tests/specs/coreSpec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js
index ac12dd7d919..83441104289 100644
--- a/core/js/tests/specs/coreSpec.js
+++ b/core/js/tests/specs/coreSpec.js
@@ -470,6 +470,7 @@ describe('Core base tests', function() {
var $navigation;
beforeEach(function() {
+ jQuery.fx.off = true;
clock = sinon.useFakeTimers();
$('#testArea').append('<div id="header">' +
'<a class="menutoggle header-appname-container" href="#">' +
@@ -482,6 +483,7 @@ describe('Core base tests', function() {
$navigation = $('#navigation');
});
afterEach(function() {
+ jQuery.fx.off = false;
clock.restore();
$(document).off('ajaxError');
});