Tobias Skarhed 7 лет назад
Родитель
Сommit
529883b61d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      public/app/plugins/panel/graph/specs/graph_ctrl.jest.ts

+ 2 - 2
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,