Commit d612beec by kay delaney Committed by GitHub

Explore: Fixes implicit any error in AdHocFilterField.test.tsx (#17565)

parent e1df5110
...@@ -3,10 +3,11 @@ import { shallow } from 'enzyme'; ...@@ -3,10 +3,11 @@ import { shallow } from 'enzyme';
import { AdHocFilterField, DEFAULT_REMOVE_FILTER_VALUE } from './AdHocFilterField'; import { AdHocFilterField, DEFAULT_REMOVE_FILTER_VALUE } from './AdHocFilterField';
import { AdHocFilter } from './AdHocFilter'; import { AdHocFilter } from './AdHocFilter';
import { DataSourceApi } from '@grafana/ui';
import { MockDataSourceApi } from '../../../test/mocks/datasource_srv'; import { MockDataSourceApi } from '../../../test/mocks/datasource_srv';
describe('<AdHocFilterField />', () => { describe('<AdHocFilterField />', () => {
let mockDataSourceApi; let mockDataSourceApi: DataSourceApi;
beforeEach(() => { beforeEach(() => {
mockDataSourceApi = new MockDataSourceApi(); mockDataSourceApi = new MockDataSourceApi();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment