started testing
This commit is contained in:
@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user