]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.spec.ts
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / not-found / not-found.component.spec.ts
index b75232c204c22998eda3df2bfd3cdccfbedb689e..3adb9c3f32f36b46277541614bcf586c96fe99cb 100644 (file)
@@ -1,4 +1,5 @@
 import { ComponentFixture, TestBed } from '@angular/core/testing';
+import { RouterTestingModule } from '@angular/router/testing';
 
 import { configureTestBed } from '../../../testing/unit-test-helper';
 import { NotFoundComponent } from './not-found.component';
@@ -8,7 +9,8 @@ describe('NotFoundComponent', () => {
   let fixture: ComponentFixture<NotFoundComponent>;
 
   configureTestBed({
-    declarations: [NotFoundComponent]
+    declarations: [NotFoundComponent],
+    imports: [RouterTestingModule]
   });
 
   beforeEach(() => {