← Về thư mục
frontend/src/features/ws/connect.test.ts
- FakeWebSocket · class · L17-L48 — class FakeWebSocket implements WsSocket
- constructor · method · L26-L29 — constructor(url: string)
- send · method · L31-L33 — send(data: string): void
- open · method · L35-L38 — open(): void
- drop · method · L40-L43 — drop(): void
- emit · method · L45-L47 — emit(data: string): void