From 529883b61d43fefac03b578e1fe86b4259e9c2de Mon Sep 17 00:00:00 2001 From: Tobias Skarhed Date: Mon, 23 Jul 2018 13:39:32 +0200 Subject: [PATCH] Change to arrow functions --- public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts b/public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts index a778697527f..788ca1840ba 100644 --- a/public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts +++ b/public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts @@ -18,12 +18,12 @@ describe('GraphCtrl', function() { }; let scope = { - $on: function() {}, + $on: () => {}, }; GraphCtrl.prototype.panel = { events: { - on: function() {}, + on: () => {}, }, gridPos: { w: 100,