0.11.0 • Published 7 years ago
http_stub Client
Provides a convenient way to call an instance of http_stub
.
Usage
import HttpStubClient from 'http-stub-client';
// Create a custom stub.
const thingStub = new HttpStubClient.Stub('host', 'port');
thingStub.activate('Scenario name');
thingStub.reset();