diff --git a/src/modules/server/api/test/websocket.api.spec.ts b/src/modules/server/api/test/websocket.api.spec.ts index e640370..7c639c0 100644 --- a/src/modules/server/api/test/websocket.api.spec.ts +++ b/src/modules/server/api/test/websocket.api.spec.ts @@ -57,14 +57,6 @@ describe('Websocket Api Test', () => { return isSynced; }); - /* const waitUntilDocValueMatches = (ydoc: Doc, key: string, value: number): Promise => - promise.until(0, () => { - const result = ydoc.getMap().get(key); - const isMatch = result === value; - - return isMatch; - }); */ - describe('when clients have permission for room', () => { describe('when two clients connect to the same doc before any changes', () => { const setup = () => {