Skip to content

Commit

Permalink
Fixed ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Aug 20, 2020
1 parent 7d7c372 commit 80109c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import React, { FC } from 'react';
import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiText } from '@elastic/eui';
import { FeatureCatalogueEntry, FeatureCatalogueSolution } from '../../../';
import { FeatureCatalogueSolution } from '../../../';
import { createAppNavigationHandler } from '../app_navigation_handler';
import { SolutionTitle } from './solution_title';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const addBasePathMock = (path: string) => (path ? path : 'path');

describe('SolutionsSection', () => {
test('only renders a spacer if no solutions are available', () => {
const component = shallow(<SolutionsSection solutions={[]} />);
const component = shallow(<SolutionsSection addBasePath={addBasePathMock} solutions={[]} />);
expect(component).toMatchSnapshot();
});

Expand Down

0 comments on commit 80109c8

Please sign in to comment.