1234567891011121314 |
- // import { receiverConnectionState } from './socket'
- // test('should simulate client connectivity', () => {
- // const expectedValues = ['OFFLINE', 'ONLINE', 'OFFLINE', 'ONLINE'];
- // let index = 0;
- // receiverConnectionState.subscribe({
- // next: (value) => {
- // expect(value).toBe(expectedValues[index++])
- // },
- // complete() {
- // // nothing
- // },
- // })
- // })
|