Remove as any from requireActual usage (#51182)

This commit is contained in:
Josh Hunt
2022-06-21 17:48:38 +01:00
committed by GitHub
parent 53d03aec78
commit 98132fc7dc
16 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,7 @@ import { backendSrv } from 'app/core/services/backend_srv';
import { PostgresDatasource } from './datasource';
jest.mock('@grafana/runtime', () => ({
...(jest.requireActual('@grafana/runtime') as any),
...jest.requireActual('@grafana/runtime'),
getBackendSrv: () => backendSrv,
getTemplateSrv: () => ({
replace: (val: string): string => {