From 88e7cb5addc520331954f71f6c40a2befa6f71d1 Mon Sep 17 00:00:00 2001 From: waterplea Date: Tue, 8 Oct 2024 11:55:05 +0400 Subject: [PATCH] chore: fix test --- .../addon-doc/components/page/tests/page.component.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/addon-doc/components/page/tests/page.component.spec.ts b/projects/addon-doc/components/page/tests/page.component.spec.ts index cf34cbf4c088a..86cb80d202049 100644 --- a/projects/addon-doc/components/page/tests/page.component.spec.ts +++ b/projects/addon-doc/components/page/tests/page.component.spec.ts @@ -1,5 +1,6 @@ import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; +import {ActivatedRoute} from '@angular/router'; import {PAGE_SEE_ALSO, TuiDocPage} from '@taiga-ui/addon-doc'; import {TUI_DOC_DEFAULT_TABS} from '@taiga-ui/addon-doc/tokens'; import {EMPTY_QUERY} from '@taiga-ui/cdk'; @@ -12,6 +13,10 @@ describe('TuiDocPageComponent', () => { await TestBed.configureTestingModule({ imports: [TuiDocPage], providers: [ + { + provide: ActivatedRoute, + useValue: {}, + }, { provide: TUI_DOC_DEFAULT_TABS, useValue: ['tab1', 'tab2'],