forked from mystiq/hydrogen-web
fix failing test
This commit is contained in:
parent
a6d92b7c17
commit
25f3dfbb75
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ export function tests() {
|
||||||
"membership trigger change": function(assert) {
|
"membership trigger change": function(assert) {
|
||||||
const summary = new RoomSummary("id");
|
const summary = new RoomSummary("id");
|
||||||
let written = false;
|
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(changes);
|
||||||
assert(written);
|
assert(written);
|
||||||
assert.equal(changes.membership, "join");
|
assert.equal(changes.membership, "join");
|
||||||
|
|
Loading…
Reference in a new issue