This repository contains the source code of a utility library to mock XMLHttpRequest.
src
contains the pre-build files of ajax-mock.test
contains the files for testing ajax-mock.gulp
contains the gulp task files.
Here is the overview for the files under src
folder:
Here are the steps:
- Install
gulp
globally if you haven't done so. - Run
npm install
. - Run
gulp
to build thehttp-recorder.js and ajax-mock.js
.