import { describe, expect, it } from 'vitest'; import { buildHello } from '$lib/protocol/connection'; describe('wire protocol', () => { it('builds the hello handshake message', () => { expect(buildHello()).toEqual({ t: 'hello', v: 1 }); }); });