1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Add integration tests; fix bugs.

This commit is contained in:
Kegan Dougal
2015-10-26 16:12:06 +00:00
parent 4cbab72369
commit be6d64fbfd
3 changed files with 125 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ function HttpBackend() {
this.requestFn = function(opts, callback) {
var realReq = new Request(opts.method, opts.uri, opts.body, opts.qs);
realReq.callback = callback;
console.log("HTTP backend received request: %s %s", opts.method, opts.uri);
self.requests.push(realReq);
};
}