mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-08 04:19:11 +00:00
refactor local transport testing and local memberhsip initialization
This commit is contained in:
@@ -80,6 +80,7 @@ export async function flushPromises(): Promise<void> {
|
||||
}
|
||||
|
||||
export interface OurRunHelpers extends RunHelpers {
|
||||
scheduler: TestScheduler;
|
||||
/**
|
||||
* Schedules a sequence of actions to happen, as described by a marble
|
||||
* diagram.
|
||||
@@ -123,6 +124,7 @@ export function withTestScheduler(
|
||||
continuation({
|
||||
...helpers,
|
||||
scope,
|
||||
scheduler,
|
||||
schedule(marbles, actions) {
|
||||
const actionsObservable$ = helpers
|
||||
.cold(marbles)
|
||||
|
||||
Reference in New Issue
Block a user