brewman/overlord/src/app/issue/issue.component.spec.ts

29 lines
868 B
TypeScript
Raw Normal View History

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();
});
});