forked from mystiq/hydrogen-web
test accepted/rejected fields in invite tests
This commit is contained in:
parent
465e0c191f
commit
a5e6294593
1 changed files with 2 additions and 0 deletions
|
@ -332,6 +332,8 @@ export function tests() {
|
||||||
assert(!removedEmitted);
|
assert(!removedEmitted);
|
||||||
invite.afterSync(joinChanges);
|
invite.afterSync(joinChanges);
|
||||||
assert.equal(txn.invitesMap.get(roomId), undefined);
|
assert.equal(txn.invitesMap.get(roomId), undefined);
|
||||||
|
assert.equal(invite.rejected, false);
|
||||||
|
assert.equal(invite.accepted, true);
|
||||||
assert(removedEmitted);
|
assert(removedEmitted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue