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