Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-10-20 18:11:59 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-14 21:17:40 +0300
commit173f28a09d4b88e91fe1c2db16f2aab9f171a627 (patch)
tree77a2811a32e2f9917f10ffb52866e5df399fbe0f /build
parentb19b1379699cf7790a13575f27a05b2f6db14f6a (diff)
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 'build')
-rw-r--r--build/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/package.json b/build/package.json
index b078727805d..e6688966693 100644
--- a/build/package.json
+++ b/build/package.json
@@ -22,6 +22,7 @@
"karma-jasmine-sinon": "^1.0.4",
"karma-junit-reporter": "*",
"karma-phantomjs-launcher": "*",
+ "karma-viewport": "^0.4.2",
"phantomjs-prebuilt": "*",
"node-sass": "~4.1.1",
"sinon": "*"