test. analytics
Namespace for testing Analytics functions using the Cloud Functions for Firebase Test SDK.
Methods
exampleAnalyticsEvent
exampleAnalyticsEvent() returns functions.analytics.AnalyticsEvent
Fetch an example AnalyticsEvent already populated with data.
- Returns
-
non-null functions.analytics.AnalyticsEvent
makeAnalyticsEvent
makeAnalyticsEvent(fields) returns functions.analytics.AnalyticsEvent
Function to create an Analytics event.
Parameter |
|
---|---|
fields |
Object Fields of Value must not be null. |
- Returns
-
non-null functions.analytics.AnalyticsEvent