diff --git a/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx b/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx index ae37418ac46..4c01ecc07ba 100644 --- a/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx +++ b/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx @@ -62,6 +62,7 @@ export const Lines: Story = ({ placement, unit, legendDisplayMode, . placement: placement, calcs: [], }} + panelId={1} timeZone="browser" /> ); diff --git a/packages/grafana-ui/src/components/GraphNG/utils.test.ts b/packages/grafana-ui/src/components/GraphNG/utils.test.ts index 7552cd1974f..0726e112289 100644 --- a/packages/grafana-ui/src/components/GraphNG/utils.test.ts +++ b/packages/grafana-ui/src/components/GraphNG/utils.test.ts @@ -199,6 +199,7 @@ describe('GraphNG utils', () => { eventBus: new EventBusSrv(), sync: DashboardCursorSync.Tooltip, allFrames: [frame!], + panelId: 1, }).getConfig(); expect(result).toMatchSnapshot(); });