]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / layouts / blank-layout / blank-layout.component.spec.ts
index 75c3686d488f8560db6d4d55e270b18b1d8350c3..faee6aa9b34fe7a6e8aa1791d248188c299e3522 100644 (file)
@@ -1,18 +1,17 @@
-import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { ComponentFixture, TestBed } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 
+import { configureTestBed } from '~/testing/unit-test-helper';
 import { BlankLayoutComponent } from './blank-layout.component';
 
 describe('DefaultLayoutComponent', () => {
   let component: BlankLayoutComponent;
   let fixture: ComponentFixture<BlankLayoutComponent>;
 
-  beforeEach(async(() => {
-    TestBed.configureTestingModule({
-      declarations: [BlankLayoutComponent],
-      imports: [RouterTestingModule]
-    }).compileComponents();
-  }));
+  configureTestBed({
+    declarations: [BlankLayoutComponent],
+    imports: [RouterTestingModule]
+  });
 
   beforeEach(() => {
     fixture = TestBed.createComponent(BlankLayoutComponent);