mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
fix: fixed tslint validation error
This commit is contained in:
parent
adb9d92082
commit
34edea4ac7
@ -4,7 +4,7 @@ import { ColorPalette } from '../components/colorpicker/ColorPalette';
|
||||
|
||||
describe('CollorPalette', () => {
|
||||
it('renders correctly', () => {
|
||||
const tree = renderer.create(<ColorPalette color="#EAB839" />).toJSON();
|
||||
const tree = renderer.create(<ColorPalette color="#EAB839" onColorSelect={jest.fn()} />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user