Revert "add untested function"

This reverts commit c078dd87fa.
This commit is contained in:
Valere
2025-11-27 10:04:09 +01:00
parent c078dd87fa
commit 794585514a

View File

@@ -18,9 +18,7 @@ import {
share, share,
take, take,
takeUntil, takeUntil,
tap,
} from "rxjs"; } from "rxjs";
import { logger } from "matrix-js-sdk/lib/logger";
import { type Behavior } from "./Behavior"; import { type Behavior } from "./Behavior";
@@ -158,17 +156,6 @@ export class ObservableScope {
}); });
} }
public unTestedMethod$<T>(input$: Behavior<T>): Observable<T> {
// This method is intentionally left untested.
return input$.pipe(
map((value) => value),
distinctUntilChanged(),
tap((value) => {
logger.log(`Value changed: ${value}`);
}),
);
}
/** /**
* Splits a Behavior of objects with static properties into an object with * Splits a Behavior of objects with static properties into an object with
* Behavior properties. * Behavior properties.