rename to pluginlistitem

This commit is contained in:
Peter Holmberg
2018-09-27 14:23:46 +02:00
parent cabc4c4bfe
commit fede5e6c74
9 changed files with 23 additions and 19 deletions

View File

@@ -1,13 +1,13 @@
import React from 'react';
import { shallow } from 'enzyme';
import { PluginListPage, Props } from './PluginListPage';
import { NavModel, Plugin } from '../../types';
import { NavModel, PluginListItem } from '../../types';
import { LayoutModes } from '../../core/components/LayoutSelector/LayoutSelector';
const setup = (propOverrides?: object) => {
const props: Props = {
navModel: {} as NavModel,
plugins: [] as Plugin[],
plugins: [] as PluginListItem[],
layoutMode: LayoutModes.Grid,
loadPlugins: jest.fn(),
};