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

whitespace, newlines

This commit is contained in:
Bruno Windels
2019-06-13 12:03:20 +02:00
parent 4462f4b90e
commit 811a98ad19
2 changed files with 4 additions and 6 deletions

View File

@@ -105,8 +105,7 @@ describe("MatrixScheduler", function() {
});
scheduler.queueEvent(eventA);
// as queueing doesn't start processing
// synchronously anymore (see commit bbdb5ac)
// as queueing doesn't start processing synchronously anymore (see commit bbdb5ac)
// wait just long enough before it does
await Promise.resolve();
expect(procCount).toEqual(1);
@@ -147,8 +146,7 @@ describe("MatrixScheduler", function() {
const globalA = scheduler.queueEvent(eventA);
scheduler.queueEvent(eventB);
// as queing doesn't start processing
// synchronously anymore (see commit bbdb5ac)
// as queueing doesn't start processing synchronously anymore (see commit bbdb5ac)
// wait just long enough before it does
await Promise.resolve();
expect(procCount).toEqual(1);
@@ -310,8 +308,7 @@ describe("MatrixScheduler", function() {
expect(ev).toEqual(eventA);
return defer.promise;
});
// as queueing doesn't start processing
// synchronously anymore (see commit bbdb5ac)
// as queueing doesn't start processing synchronously anymore (see commit bbdb5ac)
// wait just long enough before it does
Promise.resolve().then(() => {
expect(procCount).toEqual(1);

View File

@@ -1742,6 +1742,7 @@ MatrixClient.prototype._sendCompleteEvent = function(roomId, eventObject, txnId,
localEvent.updateAssociatedId(target.getId());
});
}
const type = localEvent.getType();
logger.log(`sendEvent of type ${type} in ${roomId} with txnId ${txnId}`);