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

29 lines
896 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 { IncentiveComponent } from './incentive.component';
describe('IncentiveComponent', () => {
let component: IncentiveComponent;
let fixture: ComponentFixture<IncentiveComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
declarations: [IncentiveComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(IncentiveComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});