fixed a bug where mixed datasource with variable ref were not working (#1909)

This commit is contained in:
Sriram
2024-11-12 09:48:23 +00:00
committed by GitHub
parent b27194930c
commit 2c41cea0c4
2 changed files with 23 additions and 6 deletions

View File

@@ -12,6 +12,9 @@ jest.mock(
toPromise: () => jest.fn().mockResolvedValue({ data: { result: '' } }),
}),
}),
getDataSourceSrv: () => ({
getInstanceSettings: jest.fn().mockResolvedValue({}),
}),
getTemplateSrv: () => ({
replace: jest.fn().mockImplementation((query) => query),
}),