Fixed tests

This commit is contained in:
Christoph Oberhofer
2017-03-12 21:31:40 +01:00
parent 1d470660a7
commit 14684bb58d
6 changed files with 67 additions and 91 deletions
+2 -3
View File
@@ -12,10 +12,9 @@ const windowObjects = [
];
const DOMHelper = windowObjects.reduce((result, obj) => {
return {
...result,
return Object.assign({}, result, {
[obj]: obj in windowRef ? windowRef[obj] : () => {}
};
});
}, {});
DOMHelper.setObject = (key, value) => {