summaryrefslogtreecommitdiff
path: root/web/test/protocol.test.ts
blob: c804d8b5098b25b06d07ecace44f2c69e71e6474 (plain)
1
2
3
4
5
6
7
8
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 });
	});
});