diff --git a/src/plugins/data/common/search/search_source/search_source.pb.test.ts b/src/plugins/data/common/search/search_source/search_source.pb.test.ts index 7850518ed80b9..3171a7554e04a 100644 --- a/src/plugins/data/common/search/search_source/search_source.pb.test.ts +++ b/src/plugins/data/common/search/search_source/search_source.pb.test.ts @@ -12,7 +12,6 @@ import fc from 'fast-check'; import { of } from 'rxjs'; import { IndexPattern } from 'src/plugins/data/public'; -import { createStubDataView } from '../../../../data_views/common/mocks'; import { IAggConfigs } from '../aggs'; import { Query } from '../..'; import { IndexPatternsContract } from '../..'; @@ -233,7 +232,6 @@ describe('Search source properties', () => { const indexPatterns = { get: jest.fn().mockResolvedValue(searchSourceFields.index), } as unknown as IndexPatternsContract; - const create = createSearchSource(indexPatterns, searchSourceDependencies); const serializedFields = searchSource.getSerializedFields(true);