Commit 6f1b125c by Marcus Efraimsson Committed by GitHub

Merge pull request #12808 from dehrax/12224-simple

Karma to Jest: remove tests
parents c900a301 61eb96ed
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);
});
});
});
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);
});
});
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);
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment