started testing

This commit is contained in:
VLE2FE
2020-08-16 20:01:56 +02:00
parent f07c3be23a
commit 9197e8a187
29 changed files with 371 additions and 65 deletions

View File

@ -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();
});