started testing
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DocumentationComponent } from './documentation.component';
|
||||
import {RbUiComponentsModule} from '@inst-iot/bosch-angular-ui-components';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {RbCustomInputsModule} from '../rb-custom-inputs/rb-custom-inputs.module';
|
||||
|
||||
// TODO
|
||||
|
||||
describe('DocumentationComponent', () => {
|
||||
let component: DocumentationComponent;
|
||||
@ -8,7 +13,10 @@ describe('DocumentationComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ DocumentationComponent ]
|
||||
declarations: [ DocumentationComponent ],
|
||||
imports: [
|
||||
RbCustomInputsModule
|
||||
]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
@ -16,6 +24,7 @@ describe('DocumentationComponent', () => {
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DocumentationComponent);
|
||||
component = fixture.componentInstance;
|
||||
component.ngOnInit();
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user