Fake implementation of @backstage/frontend-plugin-api#AlertApi.
const alertApi = mockApis.alert();alertApi.post({ message: 'Test alert' });expect(alertApi.getAlerts()).toHaveLength(1); Copy
const alertApi = mockApis.alert();alertApi.post({ message: 'Test alert' });expect(alertApi.getAlerts()).toHaveLength(1);
Fake implementation of @backstage/frontend-plugin-api#AlertApi.