Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

NeuraLegion/nexmock

 
 

Repository files navigation

nexmock

THIS REPO HAS BEEN DEPRECATED AND HAS BEEN ARCHIVED BY THE OWNER.

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

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Other 0.7%