mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Remove simple tests
This commit is contained in:
parent
61e3a0cceb
commit
61eb96ed79
@ -1,17 +0,0 @@
|
||||
import { describe, it, expect } from 'test/lib/common';
|
||||
|
||||
import { AlertTabCtrl } from '../alert_tab_ctrl';
|
||||
|
||||
describe('AlertTabCtrl', () => {
|
||||
var $scope = {
|
||||
ctrl: {},
|
||||
};
|
||||
|
||||
describe('with null parameters', () => {
|
||||
it('can be created', () => {
|
||||
var alertTab = new AlertTabCtrl($scope, null, null, null, null, null);
|
||||
|
||||
expect(alertTab).to.not.be(null);
|
||||
});
|
||||
});
|
||||
});
|
@ -1,15 +0,0 @@
|
||||
import { describe, beforeEach, expect } from 'test/lib/common';
|
||||
|
||||
import { DashboardSrv } from '../dashboard_srv';
|
||||
|
||||
describe('dashboardSrv', function() {
|
||||
var _dashboardSrv;
|
||||
|
||||
beforeEach(() => {
|
||||
_dashboardSrv = new DashboardSrv({}, {}, {});
|
||||
});
|
||||
|
||||
it('should do something', () => {
|
||||
expect(_dashboardSrv).not.to.be(null);
|
||||
});
|
||||
});
|
@ -1,10 +0,0 @@
|
||||
import { GrafanaApp } from 'app/app';
|
||||
jest.mock('app/routes/routes');
|
||||
|
||||
describe('GrafanaApp', () => {
|
||||
var app = new GrafanaApp();
|
||||
|
||||
it('can call inits', () => {
|
||||
expect(app).not.toBe(null);
|
||||
});
|
||||
});
|
@ -1,14 +0,0 @@
|
||||
import {describe, it, expect} from 'test/lib/common';
|
||||
|
||||
import {GrafanaApp} from 'app/app';
|
||||
|
||||
describe('GrafanaApp', () => {
|
||||
|
||||
var app = new GrafanaApp();
|
||||
|
||||
it('can call inits', () => {
|
||||
expect(app).to.not.be(null);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user