Arquivos
openbci-dashboard/src/app/dashboard.component.spec.ts
T
2016-05-11 10:23:16 -04:00

23 linhas
569 B
TypeScript

import {
beforeEachProviders,
describe,
expect,
it,
inject
} from '@angular/core/testing';
import { DashboardComponent } from '../app/dashboard.component';
beforeEachProviders(() => [DashboardComponent]);
describe('App: DashboardComponent', () => {
it('should create the app',
inject([DashboardComponent], (app: DashboardComponent) => {
expect(app).toBeTruthy();
}));
it('should have as title \'clitest works!\'',
inject([DashboardComponent], (app: DashboardComponent) => {
expect(app.title).toEqual('clitest works!');
}));
});