MockService
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
endpoints: *[] |
Method Summary
Public Methods | ||
public |
addEndpoint(urlRegex: *, serviceFunction: *) |
|
public |
addJSONEndpoint(urlRegex: *, jsonServiceFunction: *) |
|
public |
|
Public Constructors
public constructor() source
Public Members
public endpoints: *[] source
Public Methods
public addEndpoint(urlRegex: *, serviceFunction: *) source
Params:
Name | Type | Attribute | Description |
urlRegex | * | ||
serviceFunction | * |
public addJSONEndpoint(urlRegex: *, jsonServiceFunction: *) source
Params:
Name | Type | Attribute | Description |
urlRegex | * | ||
jsonServiceFunction | * |