mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added no-angle-bracket-type-assertion rule and updatet files to follow rule (#13115)
This commit is contained in:
committed by
Torkel Ödegaard
parent
7837ee4466
commit
b8d82df97e
@@ -3,7 +3,7 @@ import gfunc from '../gfunc';
|
||||
import { GraphiteQueryCtrl } from '../query_ctrl';
|
||||
|
||||
describe('GraphiteQueryCtrl', () => {
|
||||
const ctx = <any>{
|
||||
const ctx = {
|
||||
datasource: {
|
||||
metricFindQuery: jest.fn(() => Promise.resolve([])),
|
||||
getFuncDefs: jest.fn(() => Promise.resolve(gfunc.getFuncDefs('1.0'))),
|
||||
@@ -15,7 +15,7 @@ describe('GraphiteQueryCtrl', () => {
|
||||
panelCtrl: {
|
||||
refresh: jest.fn(),
|
||||
},
|
||||
};
|
||||
} as any;
|
||||
|
||||
ctx.panelCtrl.panel = {
|
||||
targets: [ctx.target],
|
||||
|
||||
Reference in New Issue
Block a user