Alerting: Remove comment references to angular in tests (#103878)

This commit is contained in:
Tom Ratcliffe
2025-04-11 15:43:11 +02:00
committed by GitHub
parent b8691c4797
commit 23f97697a3
2 changed files with 0 additions and 4 deletions
@@ -29,8 +29,6 @@ jest.mock('../api/ruler', () => ({
fetchRulerRulesNamespace: jest.fn(),
}));
// there's no angular scope in test and things go terribly wrong when trying to render the query editor row.
// lets just skip it
jest.mock('app/features/query/components/QueryEditorRow', () => ({
// eslint-disable-next-line react/display-name
QueryEditorRow: () => <p>hi</p>,
@@ -39,8 +39,6 @@ jest.mock('app/core/components/AppChrome/AppChromeUpdate', () => ({
AppChromeUpdate: ({ actions }: { actions: React.ReactNode }) => <div>{actions}</div>,
}));
// there's no angular scope in test and things go terribly wrong when trying to render the query editor row.
// lets just skip it
jest.mock('app/features/query/components/QueryEditorRow', () => ({
// eslint-disable-next-line react/display-name
QueryEditorRow: () => <p>hi</p>,