]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/forms/crud-form/formly-file-type/formly-file-type.component.spec.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / forms / crud-form / formly-file-type / formly-file-type.component.spec.ts
index cd8b3a243ee417d761da4fcba3655019834e8d51..d2c34818dd4ce176bbfe631ed126f7cc81b68390 100644 (file)
@@ -3,16 +3,15 @@ import { FormControl } from '@angular/forms';
 import { FormlyModule } from '@ngx-formly/core';
 
 import { FormlyFileTypeComponent } from './formly-file-type.component';
+import { configureTestBed } from '~/testing/unit-test-helper';
 
 describe('FormlyFileTypeComponent', () => {
   let component: FormlyFileTypeComponent;
   let fixture: ComponentFixture<FormlyFileTypeComponent>;
 
-  beforeEach(async () => {
-    await TestBed.configureTestingModule({
-      imports: [FormlyModule.forRoot()],
-      declarations: [FormlyFileTypeComponent]
-    }).compileComponents();
+  configureTestBed({
+    imports: [FormlyModule.forRoot()],
+    declarations: [FormlyFileTypeComponent]
   });
 
   beforeEach(() => {