diff --git a/firebird-ng/src/app/input-config/input-config.component.spec.ts b/firebird-ng/src/app/input-config/input-config.component.spec.ts index b5f19fe..2fe214e 100644 --- a/firebird-ng/src/app/input-config/input-config.component.spec.ts +++ b/firebird-ng/src/app/input-config/input-config.component.spec.ts @@ -2,7 +2,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ReactiveFormsModule } from '@angular/forms'; import { InputConfigComponent } from './input-config.component'; - +import { provideRouter } from '@angular/router'; describe('InputConfigComponent', () => { @@ -11,7 +11,13 @@ describe('InputConfigComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [InputConfigComponent] + imports: [InputConfigComponent], + providers: [provideRouter([ + { + path: 'display', + loadComponent: () => import('../main-display/main-display.component').then(m => m.MainDisplayComponent) + }, + ])], }) .compileComponents();