brewman/overlord/src/app/issue/issue.component.spec.ts
tanshu cefb3ebdcc Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
2020-10-02 16:24:29 +05:30

29 lines
868 B
TypeScript

import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatDialogModule } from '@angular/material/dialog';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { IssueComponent } from './issue.component';
describe('IssueComponent', () => {
let component: IssueComponent;
let fixture: ComponentFixture<IssueComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
declarations: [IssueComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(IssueComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});