cic-staff-client/src/app/pages/settings/invite/invite.component.spec.ts
2020-11-25 10:59:48 +03:00

38 lines
995 B
TypeScript

import { ComponentFixture, TestBed } from '@angular/core/testing';
import { InviteComponent } from './invite.component';
import {FooterStubComponent, SidebarStubComponent, TopbarStubComponent} from '../../../../testing';
import {SettingsModule} from '../settings.module';
import {AppModule} from '../../../app.module';
describe('InviteComponent', () => {
let component: InviteComponent;
let fixture: ComponentFixture<InviteComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [
InviteComponent,
FooterStubComponent,
SidebarStubComponent,
TopbarStubComponent
],
imports: [
AppModule,
SettingsModule,
]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(InviteComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});