Skip to content

Commit

Permalink
Remove not needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Dec 23, 2024
1 parent 64aaf4e commit 160914c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/modules/server/api/test/websocket.api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ describe('Websocket Api Test', () => {
return isSynced;
});

/* const waitUntilDocValueMatches = (ydoc: Doc, key: string, value: number): Promise<void> =>
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 = () => {
Expand Down

0 comments on commit 160914c

Please sign in to comment.