cic-staff-client/src/app/pages/settings/organization/organization.component.spec.ts

34 lines
1.0 KiB
TypeScript
Raw Normal View History

2020-11-25 08:59:48 +01:00
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { OrganizationComponent } from '@pages/settings/organization/organization.component';
2021-05-10 18:15:25 +02:00
import { FooterStubComponent, SidebarStubComponent, TopbarStubComponent } from '@src/testing';
import { SettingsModule } from '@pages/settings/settings.module';
import { AppModule } from '@app/app.module';
2020-11-25 08:59:48 +01:00
describe('OrganizationComponent', () => {
let component: OrganizationComponent;
let fixture: ComponentFixture<OrganizationComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [
OrganizationComponent,
FooterStubComponent,
SidebarStubComponent,
2021-05-10 18:15:25 +02:00
TopbarStubComponent,
2020-11-25 08:59:48 +01:00
],
2021-05-10 18:15:25 +02:00
imports: [AppModule, SettingsModule],
}).compileComponents();
2020-11-25 08:59:48 +01:00
});
beforeEach(() => {
fixture = TestBed.createComponent(OrganizationComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});