import ApiMock from "@webmuds/api-mock"
var mock = new ApiMock("http://webmuds.test")
mock.start()
/*
* Examples of mocked URLs:
*
* - http://webmuds.test/muds/1
* - http://webmuds.test/muds/2/areas
*
* Just call those URLs in your project as you'd normally do,
* and they will be intercepted by this library.
*
* For a full list of available resources, check the `data` folder.
*/
mock.stop() // to restore calling original URLswebmuds/api-mock
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|