From 794585514a5faa2c02238b133abc443ed0a233fd Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 27 Nov 2025 10:04:09 +0100 Subject: [PATCH] Revert "add untested function" This reverts commit c078dd87fa932d0e36ee9a4f21a990a60cd44e95. --- src/state/ObservableScope.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/state/ObservableScope.ts b/src/state/ObservableScope.ts index 5a8e1525..87a95ba5 100644 --- a/src/state/ObservableScope.ts +++ b/src/state/ObservableScope.ts @@ -18,9 +18,7 @@ import { share, take, takeUntil, - tap, } from "rxjs"; -import { logger } from "matrix-js-sdk/lib/logger"; import { type Behavior } from "./Behavior"; @@ -158,17 +156,6 @@ export class ObservableScope { }); } - public unTestedMethod$(input$: Behavior): Observable { - // 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 * Behavior properties.