Apply biome formatting fixes
Reorder imports to match biome style guide.
This commit is contained in:
parent
4b4b434bf8
commit
0f506faa5f
3 changed files with 3 additions and 3 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
import { decode } from "./protocol";
|
import { decode } from "./protocol";
|
||||||
import {
|
import {
|
||||||
type Client,
|
type Client,
|
||||||
type WsData,
|
|
||||||
getOrCreateSession,
|
getOrCreateSession,
|
||||||
getSession,
|
getSession,
|
||||||
|
type WsData,
|
||||||
} from "./session";
|
} from "./session";
|
||||||
|
|
||||||
const PORT = Number(process.env.PORT) || 4040;
|
const PORT = Number(process.env.PORT) || 4040;
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@ import { afterEach, beforeEach, describe, expect, test } from "bun:test";
|
||||||
import type { ServerMessage } from "./protocol";
|
import type { ServerMessage } from "./protocol";
|
||||||
import { decode } from "./protocol";
|
import { decode } from "./protocol";
|
||||||
import {
|
import {
|
||||||
type WsData,
|
|
||||||
getOrCreateSession,
|
getOrCreateSession,
|
||||||
getSession,
|
getSession,
|
||||||
removeSession,
|
removeSession,
|
||||||
|
type WsData,
|
||||||
} from "./session";
|
} from "./session";
|
||||||
|
|
||||||
describe("WebSocket concurrent edits integration", () => {
|
describe("WebSocket concurrent edits integration", () => {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { describe, expect, test } from "bun:test";
|
import { describe, expect, test } from "bun:test";
|
||||||
import * as Y from "yjs";
|
import * as Y from "yjs";
|
||||||
import { type WsData, getOrCreateSession, Session } from "./session";
|
import { getOrCreateSession, Session, type WsData } from "./session";
|
||||||
|
|
||||||
describe("Session", () => {
|
describe("Session", () => {
|
||||||
test("creates yjs doc on init", () => {
|
test("creates yjs doc on init", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue