tests: quote-props

This commit is contained in:
Amine Ben hammou
2017-08-23 17:11:28 +00:00
committed by pavel-mailpoet
parent d181bde0e9
commit 6f149e3ec4
5 changed files with 46 additions and 47 deletions

View File

@@ -80,10 +80,10 @@ global.stubImage = function(defaultWidth, defaultHeight) {
this.address = '';
Object.defineProperty(this, 'src', {
'get': function() {
get: function() {
return this.address;
},
'set': function(src) {
set: function(src) {
this.address = src;
this.onload();
}