fix failing test

This commit is contained in:
Bruno Windels 2020-08-27 14:22:59 +02:00
parent a6d92b7c17
commit 25f3dfbb75

View file

@ -263,7 +263,7 @@ export function tests() {
"membership trigger change": function(assert) {
const summary = new RoomSummary("id");
let written = false;
const changes = summary.writeSync({}, "join", {roomSummary: {set: () => { written = true; }}});
const changes = summary.writeSync({}, "join", false, false, {roomSummary: {set: () => { written = true; }}});
assert(changes);
assert(written);
assert.equal(changes.membership, "join");