From 2f296a5b285e4f91eca9ef6febd11eb45dff4965 Mon Sep 17 00:00:00 2001 From: Dmitry Marov Date: Thu, 21 Mar 2024 18:51:28 +0300 Subject: [PATCH] refactored --- src/app/app.component.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 18d8bca..38fe8ee 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,7 +1,7 @@ import { ChangeDetectionStrategy, Component } from "@angular/core"; import { ComponentFixture, TestBed } from "@angular/core/testing"; import { NoopAnimationsModule } from "@angular/platform-browser/animations"; -import { RouterTestingModule } from "@angular/router/testing"; +import { RouterModule } from "@angular/router"; import { AppComponent } from "@/app.component"; import { LANGUAGE_SWITCH, @@ -27,7 +27,7 @@ describe("AppComponent", () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [AppComponent, RouterTestingModule, NoopAnimationsModule], + imports: [AppComponent, NoopAnimationsModule, RouterModule.forRoot([])], providers: [ { provide: TRACKING,