mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
|
|
import React from 'react';
|
||
|
|
import renderer from 'react-test-renderer';
|
||
|
|
import { Alias } from './Alias';
|
||
|
|
|
||
|
|
describe('Alias', () => {
|
||
|
|
it('should render component', () => {
|
||
|
|
const tree = renderer.create(<Alias value={'legend'} onChange={() => {}} />).toJSON();
|
||
|
|
expect(tree).toMatchSnapshot();
|
||
|
|
});
|
||
|
|
});
|