Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Erp.Web/app/ScrumReport/scrumReport.component.spec.ts

Summary

Maintainability
B
5 hrs
Test Coverage
´╗┐declare var describe, it, beforeEach, expect;
import { async, TestBed } from '@angular/core/testing';
import { RouterModule, Routes } from '@angular/router';
import { RouterLinkStubDirective } from '../shared/mock/mock.routerLink';
import { ScrumReportComponent } from './scrumReport.component';
import { AppModule } from '../app.module';

describe('Scrum Report Component Test', () => {
    const routes: Routes = [];

    beforeEach(async(() => {
        TestBed.configureTestingModule({
            declarations: [RouterLinkStubDirective],
            imports: [AppModule, RouterModule.forRoot(routes, { useHash: true })],
            providers: []
        }).compileComponents();
    }));

    it("should be defined", () => {
        let fixture = TestBed.createComponent(ScrumReportComponent);
        let scrumReportComponent = fixture.componentInstance;
        expect(scrumReportComponent).toBeDefined();
    });
});