From cd3482afc9955c9c6db0fe27323901b7c713e255 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 26 Sep 2017 10:43:09 +0200
Subject: [PATCH] unit test fixed (new duallistbox package version crash)

---
 frontend-js/package.json                               | 10 +++++-----
 .../src/test/js/gui/export/ElementExportPanel-test.js  |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/frontend-js/package.json b/frontend-js/package.json
index f6835c3aa6..641da402dd 100644
--- a/frontend-js/package.json
+++ b/frontend-js/package.json
@@ -21,7 +21,7 @@
     "bootstrap": "^3.3.7",
     "browserify": "^13.1.1",
     "chai": "^3.5.0",
-    "clean-css-cli": "^4.1.6",
+    "clean-css-cli": "^4.1.10",
     "datatables.net": "^1.10.13",
     "exorcist": "^0.4.0",
     "file-url": "^2.0.0",
@@ -32,18 +32,18 @@
     "jsdom-global": "^2.1.1",
     "jshint": "^2.9.4",
     "log4js-memory-appender": "1.0.5",
-    "mocha": "^3.4.1",
+    "mocha": "^3.5.3",
     "uglifyjs": "^2.4.10"
   },
   "dependencies": {
     "del": "^3.0.0",
-    "dual-listbox": "^1.0.7",
+    "dual-listbox": "1.0.7",
     "file-saver": "^1.3.3",
-    "http-status-codes": "^1.1.6",
+    "http-status-codes": "^1.3.0",
     "js-cookie": "^2.1.3",
     "log4js": "0.6.38",
     "mkdirp": "^0.5.1",
     "pileup": "^0.6.8",
-    "request": "^2.79.0"
+    "request": "^2.82.0"
   }
 }
diff --git a/frontend-js/src/test/js/gui/export/ElementExportPanel-test.js b/frontend-js/src/test/js/gui/export/ElementExportPanel-test.js
index 209fd20b97..bf82bb8711 100644
--- a/frontend-js/src/test/js/gui/export/ElementExportPanel-test.js
+++ b/frontend-js/src/test/js/gui/export/ElementExportPanel-test.js
@@ -1,6 +1,7 @@
 "use strict";
 
 /* exported logger */
+require("../../mocha-config.js");
 
 var ElementExportPanel = require('../../../../main/js/gui/export/ElementExportPanel');
 var GuiMessageError = require('../../../../main/js/gui/GuiMessageError');
-- 
GitLab