Xhr Mock Save

Utility for mocking XMLHttpRequest.

Project README

xhr-mock

This repo is a mono-repo managed by lernajs.

📖 Documentation

The documentation for the main NPM package can be found here.

🛠 Development

Install the dependencies:

yarn
yarn run bootstrap

The NPM package

Build and test the package:

cd packages/xhr-mock
yarn run build # transpile the sources
yarn run test  # run the unit tests

The integration tests

Test the package against a few well known XHR libraries:

# NOTE: you need to build the main package first
cd packages/xhr-mock-tests
yarn run test  # run the integration tests

🎁 Contributing

Contributors are very welcome! Please raise an issue or PR on Github.

Open Source Agenda is not affiliated with "Xhr Mock" Project. README Source: jameslnewell/xhr-mock
Stars
197
Open Issues
33
Last Commit
2 years ago

Open Source Agenda Badge

Open Source Agenda Rating