Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

v3.3.0

Choose a tag to compare

@blittle blittle released this 09 Feb 23:23
· 109 commits to master since this release

Add ability to mock requests.

import rxws from 'rxws';

rxws.startMockingRequests(testRequest);

rxws.get('users').then(() => {});

function testRequest(request) {
  expect(request).toBe(....);
}

rxws.stopMockingRequests();