]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-pagination/table-pagination.component.spec.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / datatable / table-pagination / table-pagination.component.spec.ts
index b220b59e6333720b4c5a70504ce06fbb978d6e27..41ae483308343b53cd823e4567ad3be221d60bb9 100644 (file)
@@ -1,16 +1,15 @@
 import { ComponentFixture, TestBed } from '@angular/core/testing';
 
 import { TablePaginationComponent } from './table-pagination.component';
+import { configureTestBed } from '~/testing/unit-test-helper';
 
 describe('TablePaginationComponent', () => {
   let component: TablePaginationComponent;
   let fixture: ComponentFixture<TablePaginationComponent>;
   let element: HTMLElement;
 
-  beforeEach(async () => {
-    await TestBed.configureTestingModule({
-      declarations: [TablePaginationComponent]
-    }).compileComponents();
+  configureTestBed({
+    declarations: [TablePaginationComponent]
   });
 
   beforeEach(() => {