Преглед на файлове

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