소스 검색

fix: fixed tslint validation error

Torkel Ödegaard 8 년 전
부모
커밋
34edea4ac7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/app/core/specs/ColorPalette.jest.tsx

+ 1 - 1
public/app/core/specs/ColorPalette.jest.tsx

@@ -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();
   });
 });