Commit 6897068a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

jsdom version updated

parent e9406d6d
......@@ -31,8 +31,7 @@
"istanbul": "0.4.5",
"jquery": "1.12.1",
"jquery-ui-dist": "1.12.1",
"jsdom": "11.1.0",
"jsdom-global": "^2.1.1",
"jsdom": "11.7.0",
"jshint": "^2.9.4",
"log4js-memory-appender": "1.0.5",
"mkdirp": "^0.5.1",
......
......@@ -66,14 +66,6 @@ before(function () {
global.FileReader = window.FileReader;
var originalCreateElement = document.createElement;
document.createElement = function (arg) {
var result = originalCreateElement.call(this, arg);
// workaround for: https://github.com/tmpvar/jsdom/issues/961
if ("li" === arg) {
result.dataset = [];
}
return result;
};
window.open = function () {
var result = {};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment