Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leventebalogh committed Dec 16, 2024
1 parent d70be3a commit 77516f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
4 changes: 2 additions & 2 deletions packages/scenes/src/components/SceneApp/SceneApp.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { SceneReactObject } from '../SceneReactObject';

jest.mock('@grafana/runtime', () => ({
...jest.requireActual('@grafana/runtime'),
PluginPage: (props: PluginPageProps) => {
PluginPage: jest.fn().mockImplementation((props: PluginPageProps) => {
return <div>{props.children}</div>;
},
}),
}));
jest.mock('../../utils/utils', () => ({
...jest.requireActual('../../utils/utils'),
Expand Down
4 changes: 0 additions & 4 deletions packages/scenes/src/components/SceneApp/SceneApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import { DataRequestEnricher, SceneComponentProps } from '../../core/types';
import { SceneObjectBase } from '../../core/SceneObjectBase';
import { SceneAppState } from './types';

import { PluginPage } from '@grafana/runtime';

console.log('>>> SceneApp / PluginPage <<<', PluginPage.toString());

/**
* Responsible for top level pages routing
*/
Expand Down

This file was deleted.

0 comments on commit 77516f0

Please sign in to comment.