summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-07-30 16:29:06 +0200
committerJulius Haertl <jus@bitgrid.net>2016-07-30 16:30:05 +0200
commit217b52085d328386832b5e0253fe7ddb87d2cb6e (patch)
treed0f8738999552d9f3c9d72bafa406cf7329da0c1 /core
parentfdcba04c98cf9bffe1ff0d29671fdea1b7f643cd (diff)
downloadnextcloud-server-217b52085d328386832b5e0253fe7ddb87d2cb6e.tar.gz
nextcloud-server-217b52085d328386832b5e0253fe7ddb87d2cb6e.zip
Fix javascript tests for sidebar animation
Diffstat (limited to 'core')
-rw-r--r--core/js/tests/specs/appsSpec.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/tests/specs/appsSpec.js b/core/js/tests/specs/appsSpec.js
index 536d41c7f10..c3352e3e4a9 100644
--- a/core/js/tests/specs/appsSpec.js
+++ b/core/js/tests/specs/appsSpec.js
@@ -23,6 +23,10 @@ describe('Apps base tests', function() {
describe('Sidebar utility functions', function() {
beforeEach(function() {
$('#testArea').append('<div id="app-content">Content</div><div id="app-sidebar">The sidebar</div>');
+ jQuery.fx.off = true;
+ });
+ afterEach(function() {
+ jQuery.fx.off = false;
});
it('shows sidebar', function() {
var $el = $('#app-sidebar');