* initial bidi implementation * add unit tests * remove only * fix vitest path in windows
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
import { vi } from 'vitest'
|
|
|
|
export default class WebSocketMock {
|
|
on = vi.fn().mockReturnValue({ off: vi.fn() })
|
|
off = vi.fn()
|
|
send = vi.fn()
|
|
|
|
constructor (public wsUrl: string) {}
|
|
}
|