mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed solo panel unit test
This commit is contained in:
parent
5e4b026668
commit
613e209af3
@ -1,6 +1,6 @@
|
|||||||
define([
|
define([
|
||||||
'helpers',
|
'helpers',
|
||||||
'features/dashboard/soloPanelCtrl',
|
'features/panel/soloPanelCtrl',
|
||||||
'features/dashboard/dashboardSrv',
|
'features/dashboard/dashboardSrv',
|
||||||
], function(helpers) {
|
], function(helpers) {
|
||||||
'use strict';
|
'use strict';
|
||||||
@ -31,16 +31,18 @@ define([
|
|||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
var dashboard = {
|
var dashboard = {
|
||||||
rows: [
|
model: {
|
||||||
{
|
rows: [
|
||||||
panels: [
|
{
|
||||||
{
|
panels: [
|
||||||
id: 23,
|
{
|
||||||
some: 'prop'
|
id: 23,
|
||||||
}
|
some: 'prop'
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routeParams.id = 1;
|
routeParams.id = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user