2020-11-23 11:42:27 +00:00
|
|
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
2020-10-02 10:54:29 +00:00
|
|
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
2018-05-25 13:49:00 +00:00
|
|
|
|
2020-10-01 15:21:22 +00:00
|
|
|
import { IncentiveComponent } from './incentive.component';
|
2018-05-25 13:49:00 +00:00
|
|
|
|
|
|
|
describe('IncentiveComponent', () => {
|
|
|
|
let component: IncentiveComponent;
|
|
|
|
let fixture: ComponentFixture<IncentiveComponent>;
|
|
|
|
|
2020-11-23 11:42:27 +00:00
|
|
|
beforeEach(waitForAsync(() => {
|
2018-05-25 13:49:00 +00:00
|
|
|
TestBed.configureTestingModule({
|
2020-10-02 10:54:29 +00:00
|
|
|
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
2020-10-01 15:21:22 +00:00
|
|
|
declarations: [IncentiveComponent],
|
|
|
|
}).compileComponents();
|
2018-05-25 13:49:00 +00:00
|
|
|
}));
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
fixture = TestBed.createComponent(IncentiveComponent);
|
|
|
|
component = fixture.componentInstance;
|
|
|
|
fixture.detectChanges();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should create', () => {
|
|
|
|
expect(component).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|