brewman/overlord/src/app/incentive/incentive.component.spec.ts
tanshu 57ef355170 Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
2020-12-08 12:09:19 +05:30

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