mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Remove dead code from test
This commit is contained in:
parent
310790c84e
commit
315acf2fbc
@ -604,8 +604,7 @@ export function tests() {
|
|||||||
// 1. setup timeline
|
// 1. setup timeline
|
||||||
const pendingEvents = new ObservableArray();
|
const pendingEvents = new ObservableArray();
|
||||||
const timeline = new Timeline({roomId, storage: await createMockStorage(),
|
const timeline = new Timeline({roomId, storage: await createMockStorage(),
|
||||||
closeCallback: () => { }, fragmentIdComparer, pendingEvents, clock: new MockClock(),
|
closeCallback: () => { }, fragmentIdComparer, pendingEvents, clock: new MockClock()});
|
||||||
fetchEventFromStorage: () => undefined, fetchEventFromHomeserver: () => undefined});
|
|
||||||
await timeline.load(new User(bob), "join", new NullLogItem());
|
await timeline.load(new User(bob), "join", new NullLogItem());
|
||||||
timeline.entries.subscribe(new ListObserver());
|
timeline.entries.subscribe(new ListObserver());
|
||||||
// 2. add message and reaction to timeline
|
// 2. add message and reaction to timeline
|
||||||
|
Loading…
Reference in New Issue
Block a user