Select preset
Makes sure that @ng-apimock/core preset is loaded.
Usage
selectPreset(name);
Parameters
| Name | Type | Details |
|---|---|---|
| name | string | name of the preset |
Example
selectPreset('happy-flow');
Executing this will select preset happy-flow.
All the
- mocks will be updated with the specified scenario's, delays and echo indicators.
- variables will be added / updated