Update @types/lodash everywhere (#47020)

* Update @types/lodash everywhere

* Update @grafana/e2e as well
This commit is contained in:
Ashley Harrison
2022-03-31 10:19:33 +01:00
committed by GitHub
parent 0e93fe7e07
commit 3d23722b30
9 changed files with 19 additions and 19 deletions

View File

@@ -5,11 +5,11 @@ import { ExploreId } from '../../../../types';
import { DescribeLogGroupsRequest } from '../types';
import { SelectableValue } from '@grafana/data';
// eslint-disable-next-line lodash/import-scope
import _, { Cancelable } from 'lodash';
import _, { DebouncedFunc } from 'lodash';
jest
.spyOn(_, 'debounce')
.mockImplementation((func: (...args: any) => any, wait?: number) => func as typeof func & Cancelable);
.mockImplementation((func: (...args: any) => any, wait?: number) => func as DebouncedFunc<typeof func>);
describe('CloudWatchLogsQueryField', () => {
it('updates upstream query log groups on region change', async () => {