From 0f506faa5fa10f77dd03d3580f3bfb2a347a6cb3 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Tue, 27 Jan 2026 21:05:17 -0500 Subject: [PATCH] Apply biome formatting fixes Reorder imports to match biome style guide. --- src/index.ts | 2 +- src/integration.test.ts | 2 +- src/session.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 9b2978f..e243d00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,9 @@ import { decode } from "./protocol"; import { type Client, - type WsData, getOrCreateSession, getSession, + type WsData, } from "./session"; const PORT = Number(process.env.PORT) || 4040; diff --git a/src/integration.test.ts b/src/integration.test.ts index 5b1c1d3..44049a5 100644 --- a/src/integration.test.ts +++ b/src/integration.test.ts @@ -2,10 +2,10 @@ import { afterEach, beforeEach, describe, expect, test } from "bun:test"; import type { ServerMessage } from "./protocol"; import { decode } from "./protocol"; import { - type WsData, getOrCreateSession, getSession, removeSession, + type WsData, } from "./session"; describe("WebSocket concurrent edits integration", () => { diff --git a/src/session.test.ts b/src/session.test.ts index 59ae7d1..3750ed9 100644 --- a/src/session.test.ts +++ b/src/session.test.ts @@ -1,6 +1,6 @@ import { describe, expect, test } from "bun:test"; import * as Y from "yjs"; -import { type WsData, getOrCreateSession, Session } from "./session"; +import { getOrCreateSession, Session, type WsData } from "./session"; describe("Session", () => { test("creates yjs doc on init", () => {