diff --git a/public/app/features/templating/specs/editor_ctrl.jest.ts b/public/app/features/templating/specs/editor_ctrl.jest.ts index 29f292837d7..f49d0ccd9c6 100644 --- a/public/app/features/templating/specs/editor_ctrl.jest.ts +++ b/public/app/features/templating/specs/editor_ctrl.jest.ts @@ -25,7 +25,7 @@ describe('VariableEditorCtrl', () => { }, }; - const ctrl = new VariableEditorCtrl(scope, {}, variableSrv, {}); + return new VariableEditorCtrl(scope, {}, variableSrv, {}); }); it('should emit an error', () => {