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