summaryrefslogtreecommitdiffstats
path: root/tests/karma.config.js
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-10-20 17:11:59 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-14 19:17:40 +0100
commit173f28a09d4b88e91fe1c2db16f2aab9f171a627 (patch)
tree77a2811a32e2f9917f10ffb52866e5df399fbe0f /tests/karma.config.js
parentb19b1379699cf7790a13575f27a05b2f6db14f6a (diff)
downloadnextcloud-server-173f28a09d4b88e91fe1c2db16f2aab9f171a627.tar.gz
nextcloud-server-173f28a09d4b88e91fe1c2db16f2aab9f171a627.zip
Add unit tests for the navigation bar slide gesture
The slide gesture is enabled or disabled depending on the width of the browser window. In order to easily control that width the karma-viewport plugin is now used in the unit tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r--tests/karma.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js
index fb613857e91..0254d6a3335 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -237,7 +237,7 @@ module.exports = function(config) {
basePath: '..',
// frameworks to use
- frameworks: ['jasmine', 'jasmine-sinon'],
+ frameworks: ['jasmine', 'jasmine-sinon', 'viewport'],
// list of files / patterns to load in the browser
files: files,