Revert "DashboardScene: prevent panel hovel header crop with scenes" (#85865)

Revert "DashboardScene: prevent panel hovel header crop with scenes (#85780)"

This reverts commit 23f1732855.
This commit is contained in:
Sergej-Vlasov
2024-04-10 16:27:53 +03:00
committed by GitHub
parent 2fc8342248
commit 33b6f45a9e
7 changed files with 17 additions and 59 deletions

View File

@@ -22,13 +22,6 @@ jest.mock('react-router-dom', () => ({
}),
}));
jest.mock('@grafana/runtime', () => ({
...jest.requireActual('@grafana/runtime'),
getPluginImportUtils: () => ({
getPanelPluginFromCache: jest.fn(),
}),
}));
// Needed when the panel is not part of an DashboardScene
jest.spyOn(utils, 'getDashboardSceneFor').mockReturnValue(new DashboardScene({}));