fixed a bug where mixed datasource with variable ref were not working (#1909)
This commit is contained in:
@@ -12,6 +12,9 @@ jest.mock(
|
||||
toPromise: () => jest.fn().mockResolvedValue({ data: { result: '' } }),
|
||||
}),
|
||||
}),
|
||||
getDataSourceSrv: () => ({
|
||||
getInstanceSettings: jest.fn().mockResolvedValue({}),
|
||||
}),
|
||||
getTemplateSrv: () => ({
|
||||
replace: jest.fn().mockImplementation((query) => query),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user