Skip to content

Commit c569e3e

Browse files
committed
fix(ajax): ensure XHR send is being called
I am really not sure how we did not catch this. I suspect jasmine-ajax does not check to see if send as been called on a given XHR. Really strange
1 parent 8f5ef62 commit c569e3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/observable/dom/ajax.ts

+2
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ export class AjaxSubscriber<T> extends Subscriber<Event> {
198198
if (result === errorObject) {
199199
return this.error(errorObject.e);
200200
}
201+
202+
xhr.send();
201203
}
202204

203205
private createXHR(): XMLHttpRequest {

0 commit comments

Comments
 (0)