fix[Mock]: add xhr.responseType (#1779)
This commit is contained in:
parent
331173ffee
commit
9d975b5eff
|
@ -11,6 +11,7 @@ Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send
|
|||
Mock.XHR.prototype.send = function() {
|
||||
if (this.custom.xhr) {
|
||||
this.custom.xhr.withCredentials = this.withCredentials || false
|
||||
this.custom.xhr.responseType = this.responseType
|
||||
}
|
||||
this.proxy_send(...arguments)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue