Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
6897068a
Commit
6897068a
authored
Apr 18, 2018
by
Piotr Gawron
Browse files
jsdom version updated
parent
e9406d6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend-js/package.json
View file @
6897068a
...
...
@@ -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"
,
...
...
frontend-js/src/test/js/mocha-config.js
View file @
6897068a
...
...
@@ -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
=
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment