Echo request
Makes sure that @ng-apimock/core will log the request to the console.
Usage
echoRequest(name, indicator);
Parameters
Name | Type | Details |
---|---|---|
name | string | name of the mock |
indicator | boolean | indicator to echo |
Example
echoRequest('my-mock', true);
Executing this will log the request to the console for the mock matching the name my-mock
.