1.1.3 • Published 5 years ago

@neuralegion/nexmock v1.1.3

Weekly downloads
268
License
MIT
Repository
github
Last release
5 years ago

nexmock

Mock http requests made using fetch based on fetch-mock

node version licence

fetchMock.mock('http://example.com', 200);
const res = await fetch('http://example.com');
assert(res.ok);
fetchMock.restore();

Requirements

fetch-mock requires the following to run:

Documentation and Usage

See the fork website and example

License

nexmock is licensed under the MIT license. Copyright © 2019, NeuraLegion

Third-party license

fetch-mock is licensed under the MIT license. Copyright © 2019, Rhys Evans