[v10.1.x] PromLink: Fixes promlink test failing in CI and locally (#74361)
PromLink: Fixes promlink test failing in CI and locally (#74299)
(cherry picked from commit 39b3b08926)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
co-authored by
Torkel Ödegaard
parent
93364cd6a6
commit
2b2d40ba32
@@ -17,7 +17,7 @@ jest.mock('@grafana/data', () => ({
|
||||
|
||||
const now = dateTime().valueOf();
|
||||
const intervalInSeconds = 60 * 5;
|
||||
const endInput = encodeURIComponent(dateTime(now).add(6, 'hours').format('Y-MM-DD HH:mm'));
|
||||
const endInput = encodeURIComponent(dateTime(now).add(5, 'hours').format('Y-MM-DD HH:mm'));
|
||||
|
||||
const getPanelData = (panelDataOverrides?: Partial<PanelData>) => {
|
||||
const panelData = {
|
||||
|
||||
Reference in New Issue
Block a user