mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(test): fix for failing unit test
This commit is contained in:
@@ -86,8 +86,8 @@ define([
|
|||||||
dashboard.rows = [{ panels: [panel] }];
|
dashboard.rows = [{ panels: [panel] }];
|
||||||
dashboard.duplicatePanel(panel, dashboard.rows[0]);
|
dashboard.duplicatePanel(panel, dashboard.rows[0]);
|
||||||
|
|
||||||
expect(dashboard.rows[0].panels[1].repeat).to.be(null);
|
expect(dashboard.rows[0].panels[1].repeat).to.be(undefined);
|
||||||
expect(dashboard.rows[0].panels[1].scopedVars.test).to.be(undefined);
|
expect(dashboard.rows[0].panels[1].scopedVars).to.be(undefined);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user