MockAnalyticsApi
Home > @backstage/test-utils
> MockAnalyticsApi
Warning: This API is now obsolete.
Use mockApis.analytics instead
Mock implementation of AnalyticsApi with helpers to ensure that events are sent correctly. Use getEvents in tests to verify captured events.
Signature:
class MockAnalyticsApi implements AnalyticsApi
Implements: AnalyticsApi
Methods
Method |
Modifiers |
Description |
---|---|---|