I have added ng-apimock to our Angular project. I already have a mock definition like this:
{
"expression": "MyServiceEndpoint",
"method": "GET",
"name": "Edit",
"isArray": false,
"responses": {
"default": {
"default": true,
"status": 200,
"headers": {},
"data": {
"id": 3,
"text": "some text"
}
}
}
}
I am reading documentation https://github.com/mdasberg/ng-apimock. But i cannot understand how to use use written mocks.Where to connect the mocks file?