Chore: Remove any that was introduced in a test (#52203)

pull/52221/head
Josh Hunt 3 years ago committed by GitHub
parent caec0f8771
commit cabdfb4811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/core/components/NavBar/utils.test.ts

@ -1,6 +1,6 @@
import { Location } from 'history'; 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 { ContextSrv, setContextSrv } from 'app/core/services/context_srv';
import { updateConfig } from '../../config'; import { updateConfig } from '../../config';
@ -199,7 +199,7 @@ describe('getActiveItem', () => {
]; ];
beforeEach(() => { beforeEach(() => {
locationUtil.initialize({ locationUtil.initialize({
config: { appSubUrl: '/subUrl' } as any, config: { appSubUrl: '/subUrl' } as GrafanaConfig,
getVariablesUrlParams: () => ({}), getVariablesUrlParams: () => ({}),
getTimeRangeForUrl: () => ({ from: 'now-7d', to: 'now' }), getTimeRangeForUrl: () => ({ from: 'now-7d', to: 'now' }),
}); });

Loading…
Cancel
Save