mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
* Initial prop rename changes * Updates * Rename layout to placement * Fix * Fixed test Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
16 lines
331 B
TypeScript
16 lines
331 B
TypeScript
import { Scene } from './Scene';
|
|
import { SceneFlexLayout } from './layout/SceneFlexLayout';
|
|
|
|
describe('Scene', () => {
|
|
it('Simple scene', () => {
|
|
const scene = new Scene({
|
|
title: 'Hello',
|
|
body: new SceneFlexLayout({
|
|
children: [],
|
|
}),
|
|
});
|
|
|
|
expect(scene.state.title).toBe('Hello');
|
|
});
|
|
});
|