Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
Object.defineProperty(global.HTMLImageElement.prototype, 'src', {
get() {
return this.$_jest_src || this.getAttribute('src');
},
set(val) {
this.$_jest_src = val;
if (this.onload) {
this.onload();
}
});