mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(): another unit test fix attempt
This commit is contained in:
parent
0c5abc1615
commit
9ba1ea0179
@ -41,8 +41,8 @@ define([
|
||||
|
||||
ctx.scope.init();
|
||||
var base = 'http://dashboards.grafana.com/render/dashboard-solo/db/my-dash';
|
||||
var params = '?from=1000&to=2000&panelId=22&width=1000&height=500&tz=UTC%2B01%3A00';
|
||||
expect(ctx.scope.imageUrl).to.be(base + params);
|
||||
var params = '?from=1000&to=2000&panelId=22&width=1000&height=500&tz=UTC';
|
||||
expect(ctx.scope.imageUrl).to.contain(base + params);
|
||||
});
|
||||
|
||||
it('should remove panel id when no panel in scope', function() {
|
||||
|
Loading…
Reference in New Issue
Block a user