]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / services / placement.pipe.spec.ts
index 7db2d14f9171a94cd0f372da7bdcc8e8b863218f..6aef3c364cbe60a521e816ceb6ace403eb989e70 100644 (file)
@@ -1,21 +1,7 @@
-import { TestBed } from '@angular/core/testing';
-import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
-
-import { I18n } from '@ngx-translate/i18n-polyfill';
-
 import { PlacementPipe } from './placement.pipe';
 
 describe('PlacementPipe', () => {
-  let pipe: PlacementPipe;
-
-  configureTestBed({
-    providers: [i18nProviders]
-  });
-
-  beforeEach(() => {
-    const i18n = TestBed.get(I18n);
-    pipe = new PlacementPipe(i18n);
-  });
+  const pipe = new PlacementPipe();
 
   it('create an instance', () => {
     expect(pipe).toBeTruthy();