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

@ -4,6 +4,8 @@ import { ErrorComponent } from './error.component';
import {ModalService, RbUiComponentsModule} from '@inst-iot/bosch-angular-ui-components';
import {By} from '@angular/platform-browser';
// TODO
describe('ErrorComponent', () => {
let component: ErrorComponent;
let fixture: ComponentFixture<ErrorComponent>;
@ -25,6 +27,7 @@ describe('ErrorComponent', () => {
beforeEach(() => {
fixture = TestBed.createComponent(ErrorComponent);
component = fixture.componentInstance;
component.ngOnInit();
fixture.detectChanges();
css = (selector) => fixture.debugElement.query(By.css(selector)).nativeElement;
});