mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: Change import for CustomVariableModel and remove unnecessary import of initialCustomVariableModelState (#78456)
This commit is contained in:
parent
0119a9f0f2
commit
0e44438d08
@ -6,6 +6,7 @@ import {
|
||||
AbstractLabelOperator,
|
||||
AnnotationQueryRequest,
|
||||
CoreApp,
|
||||
CustomVariableModel,
|
||||
DataFrame,
|
||||
dataFrameToJSON,
|
||||
DataQueryResponse,
|
||||
@ -26,9 +27,6 @@ import {
|
||||
TemplateSrv,
|
||||
} from '@grafana/runtime';
|
||||
|
||||
import { initialCustomVariableModelState } from '../../../features/variables/custom/reducer';
|
||||
import { CustomVariableModel } from '../../../features/variables/types';
|
||||
|
||||
import { LokiDatasource, REF_ID_DATA_SAMPLES } from './datasource';
|
||||
import { createLokiDatasource, createMetadataRequest } from './mocks';
|
||||
import { runSplitQuery } from './querySplitting';
|
||||
@ -265,7 +263,7 @@ describe('LokiDatasource', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
ds = createLokiDatasource(templateSrvStub);
|
||||
variable = { ...initialCustomVariableModelState };
|
||||
variable = {} as unknown as CustomVariableModel;
|
||||
});
|
||||
|
||||
it('should only escape single quotes', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user