mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update @types/lodash everywhere (#47020)
* Update @types/lodash everywhere * Update @grafana/e2e as well
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user