forked from mystiq/hydrogen-web
cleanup
This commit is contained in:
parent
5bea8130f2
commit
0703cf8915
1 changed files with 1 additions and 1 deletions
|
@ -419,6 +419,7 @@ export function tests() {
|
||||||
content: {},
|
content: {},
|
||||||
relatedTxnId: reactionEntry.id
|
relatedTxnId: reactionEntry.id
|
||||||
}}));
|
}}));
|
||||||
|
// TODO: await nextUpdate here with ListObserver, to ensure entry emits an update when pendingAnnotations changes
|
||||||
await poll(() => timeline.entries.length === 3);
|
await poll(() => timeline.entries.length === 3);
|
||||||
assert.equal(entry.pendingAnnotations.get("👋"), 0);
|
assert.equal(entry.pendingAnnotations.get("👋"), 0);
|
||||||
// 4. cancel redaction
|
// 4. cancel redaction
|
||||||
|
@ -452,7 +453,6 @@ export function tests() {
|
||||||
assert.equal(reactionEntry.relation.key, "👋");
|
assert.equal(reactionEntry.relation.key, "👋");
|
||||||
},
|
},
|
||||||
"remote reaction": async assert => {
|
"remote reaction": async assert => {
|
||||||
const storage = await createMockStorage();
|
|
||||||
const messageEntry = new EventEntry({
|
const messageEntry = new EventEntry({
|
||||||
event: withTextBody("hi bob!", createEvent("m.room.message", "!abc", alice)),
|
event: withTextBody("hi bob!", createEvent("m.room.message", "!abc", alice)),
|
||||||
fragmentId: 1, eventIndex: 2, roomId,
|
fragmentId: 1, eventIndex: 2, roomId,
|
||||||
|
|
Loading…
Reference in a new issue