refactor local transport testing and local memberhsip initialization

This commit is contained in:
Timo K
2025-11-20 14:42:12 +01:00
parent f6ef872242
commit 1fd9ac93c9
15 changed files with 571 additions and 378 deletions

View File

@@ -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)