mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove unnecessary spy
This commit is contained in:
parent
1f3fafb198
commit
716db35fae
@ -143,7 +143,7 @@ export function DashboardViewStateStub(this: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function TimeSrvStub(this: any) {
|
export function TimeSrvStub(this: any) {
|
||||||
this.init = sinon.spy();
|
this.init = () => {};
|
||||||
this.time = { from: 'now-1h', to: 'now' };
|
this.time = { from: 'now-1h', to: 'now' };
|
||||||
this.timeRange = function(parse) {
|
this.timeRange = function(parse) {
|
||||||
if (parse === false) {
|
if (parse === false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user