mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: ReactPanelPlugin to VizPanelPlugin (#16779)
* Plugins: ReactPanelPlugin renamed * Plugins: renamed PanelPlugin to PanelPluginMeta and VizPanelPlugin to PanelPlugin
This commit is contained in:
@@ -3,7 +3,7 @@ import config from 'app/core/config';
|
||||
import * as dateMath from 'app/core/utils/datemath';
|
||||
import { angularMocks, sinon } from '../lib/common';
|
||||
import { PanelModel } from 'app/features/dashboard/state/PanelModel';
|
||||
import { PanelPlugin } from 'app/types';
|
||||
import { PanelPluginMeta } from 'app/types';
|
||||
import { RawTimeRange } from '@grafana/ui/src/types';
|
||||
|
||||
export function ControllerTestContext(this: any) {
|
||||
@@ -64,7 +64,7 @@ export function ControllerTestContext(this: any) {
|
||||
$rootScope.colors.push('#' + i);
|
||||
}
|
||||
|
||||
config.panels['test'] = { info: {} } as PanelPlugin;
|
||||
config.panels['test'] = { info: {} } as PanelPluginMeta;
|
||||
self.ctrl = $controller(
|
||||
Ctrl,
|
||||
{ $scope: self.scope },
|
||||
|
||||
Reference in New Issue
Block a user