Skip to content

Commit

Permalink
fixing rebasing pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Mar 16, 2020
1 parent 96c8828 commit 17d0a29
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/endpoint/common/generate_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import uuid from 'uuid';
import seedrandom from 'seedrandom';
import { AlertEvent, EndpointEvent, HostMetadata, OSFields } from './types';
import { AlertEvent, EndpointEvent, HostMetadata, OSFields, HostFields } from './types';

export type Event = AlertEvent | EndpointEvent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ describe('HostList store concerns', () => {
dispatch = store.dispatch;
};

const generator = new EndpointDocGenerator();
// https://github.com/elastic/endpoint-app-team/issues/131
const generateEndpoint = (): HostMetadata => {
return generator.generateEndpointMetadata();
};

const loadDataToStore = () => {
dispatch({
type: 'serverReturnedHostList',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ describe('host list middleware', () => {
let getState: typeof store['getState'];
let dispatch: Dispatch<AppAction>;

const generator = new EndpointDocGenerator();
// https://github.com/elastic/endpoint-app-team/issues/131
const generateEndpoint = (): HostMetadata => {
return generator.generateEndpointMetadata();
};

let history: History<never>;
const getEndpointListApiResponse = (): HostResultList => {
return mockHostResultList({ request_page_size: 1, request_page_index: 1, total: 10 });
Expand Down

0 comments on commit 17d0a29

Please sign in to comment.