mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix failing test
This commit is contained in:
parent
a6d92b7c17
commit
25f3dfbb75
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user