mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
Chore: Remove any that was introduced in a test (#52203)
This commit is contained in:
parent
caec0f8771
commit
cabdfb4811
@ -1,6 +1,6 @@
|
||||
import { Location } from 'history';
|
||||
|
||||
import { locationUtil, NavModelItem } from '@grafana/data';
|
||||
import { GrafanaConfig, locationUtil, NavModelItem } from '@grafana/data';
|
||||
import { ContextSrv, setContextSrv } from 'app/core/services/context_srv';
|
||||
|
||||
import { updateConfig } from '../../config';
|
||||
@ -199,7 +199,7 @@ describe('getActiveItem', () => {
|
||||
];
|
||||
beforeEach(() => {
|
||||
locationUtil.initialize({
|
||||
config: { appSubUrl: '/subUrl' } as any,
|
||||
config: { appSubUrl: '/subUrl' } as GrafanaConfig,
|
||||
getVariablesUrlParams: () => ({}),
|
||||
getTimeRangeForUrl: () => ({ from: 'now-7d', to: 'now' }),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user