dashboard: fix linting and formating - #10100

This commit is contained in:
Marcus Efraimsson 2017-12-06 23:51:39 +01:00
parent cb0dac11a3
commit 58fb35c5cb

View File

@ -1,7 +1,12 @@
import { SearchCtrl } from './search';
import { SearchSrv } from 'app/core/services/search_srv';
describe('SearchCtrl', () => {
let ctrl = new SearchCtrl({}, {}, {}, {}, { onAppEvent: () => { } });
const searchSrvStub = {
search: (options: any) => {},
getDashboardTags: () => {}
};
let ctrl = new SearchCtrl({}, {}, {}, <SearchSrv>searchSrvStub, { onAppEvent: () => { } });
describe('Given an empty result', () => {
beforeEach(() => {