MCPcopy
hub / github.com/robtaussig/react-use-websocket / create-or-join.test.ts

File create-or-join.test.ts

src/lib/create-or-join.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { MutableRefObject } from 'react';
2import { createOrJoinSocket } from './create-or-join';
3import WS from "jest-websocket-mock";
4import { Options } from './types';

Callers

nothing calls this directly

Calls 4

hasSubscribersFunction · 0.90
getSubscribersFunction · 0.90
removeSubscriberFunction · 0.90
createOrJoinSocketFunction · 0.90

Tested by

no test coverage detected