This repository was archived by the owner on Apr 15, 2025. It is now read-only.
v3.3.0
Add ability to mock requests.
import rxws from 'rxws';
rxws.startMockingRequests(testRequest);
rxws.get('users').then(() => {});
function testRequest(request) {
expect(request).toBe(....);
}
rxws.stopMockingRequests();