Skip to content

Commit

Permalink
fixing test types
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Jan 10, 2023
1 parent d694980 commit ab37293
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import React from 'react';
import { CustomUrlEditor } from './editor';
import { TIME_RANGE_TYPE, URL_TYPE } from './constants';
import { CustomUrlSettings } from './utils';
import { DataView } from '../../../../../../../../src/plugins/data_views/common';
import { DataViewListItem } from '../../../../../../../../src/plugins/data_views/common';

function prepareTest(customUrl: CustomUrlSettings, setEditCustomUrlFn: (url: UrlConfig) => void) {
const savedCustomUrls = [
Expand Down Expand Up @@ -50,7 +50,7 @@ function prepareTest(customUrl: CustomUrlSettings, setEditCustomUrlFn: (url: Url
const indexPatterns = [
{ id: 'pattern1', title: 'Index Pattern 1' },
{ id: 'pattern2', title: 'Index Pattern 2' },
] as DataView[];
] as DataViewListItem[];

const queryEntityFieldNames = ['airline'];

Expand Down

0 comments on commit ab37293

Please sign in to comment.