forked from mystiq/hydrogen-web
fix unit test that failed after it finished
crashing the runner on node 16
This commit is contained in:
parent
65929194b0
commit
3243ce2a90
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ export function tests() {
|
|||
const entryA = new EventEntry({ event: withTextBody("foo", createEvent("m.room.message", "event_id_1", alice)) });
|
||||
const entryB = new EventEntry({ event: withReply("event_id_1", createEvent("m.room.message", "event_id_2", bob)), eventIndex: 2 });
|
||||
await timeline.load(new User(alice), "join", new NullLogItem());
|
||||
timeline.entries.subscribe({ onAdd: () => null, });
|
||||
timeline.entries.subscribe({ onAdd: () => null, onUpdate: () => null});
|
||||
timeline.addEntries([entryA, entryB]);
|
||||
assert.deepEqual(entryB.contextEntry, entryA);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue