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 { ReactiveFormsModule } from '@angular/forms';
|
2020-12-08 06:39:19 +00:00
|
|
|
import { MatDialogModule } from '@angular/material/dialog';
|
2020-10-02 10:54:29 +00:00
|
|
|
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-24 02:33:43 +00:00
|
|
|
beforeEach(
|
|
|
|
waitForAsync(() => {
|
|
|
|
TestBed.configureTestingModule({
|
|
|
|
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
|
|
|
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();
|
|
|
|
});
|
|
|
|
});
|