Chore: Fixes test based on master branch

This commit is contained in:
Hugo Häggmark
2020-02-06 12:53:10 +03:00
committed by Alexander Zobnin
parent dcb8beecb1
commit d010dac384
@@ -871,7 +871,7 @@ describe('PrometheusDatasource', () => {
},
};
ds.annotationQuery(query);
const req = datasourceRequestMock.mock.calls[0][0];
const req = (getBackendSrvMock().datasourceRequest as jest.Mock<any>).mock.calls[0][0];
expect(req.url).toContain('step=60');
});