clean up data structures

This commit is contained in:
seavor 2026-04-16 17:14:49 -05:00
parent 53639a8448
commit d04aa83258
9 changed files with 61 additions and 42 deletions

View file

@ -23,7 +23,7 @@ import {
} from '@app/websocket';
import type { WebSocketConnectOptions } from '@app/websocket';
import { PROTOCOL_VERSION } from '../../../src/websocket/config';
import { initWebClient } from '@app/api';
import { createWebClientRequest, createWebClientResponse } from '@app/api';
import {
buildResponse,
@ -196,7 +196,7 @@ installMockWebSocket();
beforeEach(() => {
vi.useFakeTimers();
initWebClient();
new WebClient(createWebClientRequest(), createWebClientResponse());
});
afterEach(() => {