31 lines
929 B
TypeScript
31 lines
929 B
TypeScript
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
import { IncentiveComponent } from './incentive.component';
|
|
|
|
describe('IncentiveComponent', () => {
|
|
let component: IncentiveComponent;
|
|
let fixture: ComponentFixture<IncentiveComponent>;
|
|
|
|
beforeEach(
|
|
waitForAsync(() => {
|
|
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();
|
|
});
|
|
});
|