]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / cd-label / cd-label.component.spec.ts
index 61472cde4c8e5e1303735f5645089ce2f7d008e4..e308fec1b63dfe34a4d06d885e97a11799c986a9 100644 (file)
@@ -2,15 +2,14 @@ import { ComponentFixture, TestBed } from '@angular/core/testing';
 
 import { CdLabelComponent } from './cd-label.component';
 import { ColorClassFromTextPipe } from './color-class-from-text.pipe';
+import { configureTestBed } from '~/testing/unit-test-helper';
 
 describe('CdLabelComponent', () => {
   let component: CdLabelComponent;
   let fixture: ComponentFixture<CdLabelComponent>;
 
-  beforeEach(async () => {
-    await TestBed.configureTestingModule({
-      declarations: [CdLabelComponent, ColorClassFromTextPipe]
-    }).compileComponents();
+  configureTestBed({
+    declarations: [CdLabelComponent, ColorClassFromTextPipe]
   });
 
   beforeEach(() => {