test accepted/rejected fields in invite tests

This commit is contained in:
Bruno Windels 2021-04-21 15:32:13 +02:00
parent 465e0c191f
commit a5e6294593

View file

@ -332,6 +332,8 @@ export function tests() {
assert(!removedEmitted);
invite.afterSync(joinChanges);
assert.equal(txn.invitesMap.get(roomId), undefined);
assert.equal(invite.rejected, false);
assert.equal(invite.accepted, true);
assert(removedEmitted);
}
}