create test for #290
This commit is contained in:
parent
67666e76dd
commit
1fa946110a
2 changed files with 15 additions and 3 deletions
|
|
@ -38,7 +38,9 @@ mock.window = new function() {
|
|||
},
|
||||
getAttribute: function(name, value) {
|
||||
return this[name]
|
||||
}
|
||||
},
|
||||
addEventListener: function () {},
|
||||
removeEventListener: function () {}
|
||||
}
|
||||
}
|
||||
window.document.createElementNS = function(namespace, tag) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue