]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
b886ad1d5e57be042f12b690d41751b0a8649f59
[ceph.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RgwMultisiteSyncPolicyFormComponent } from './rgw-multisite-sync-policy-form.component';
3 import { HttpClientTestingModule } from '@angular/common/http/testing';
4 import { ToastrModule } from 'ngx-toastr';
5 import { ReactiveFormsModule } from '@angular/forms';
6 import { PipesModule } from '~/app/shared/pipes/pipes.module';
7 import { ComponentsModule } from '~/app/shared/components/components.module';
8 import { RouterTestingModule } from '@angular/router/testing';
9
10 describe('RgwMultisiteSyncPolicyFormComponent', () => {
11   let component: RgwMultisiteSyncPolicyFormComponent;
12   let fixture: ComponentFixture<RgwMultisiteSyncPolicyFormComponent>;
13
14   beforeEach(async () => {
15     await TestBed.configureTestingModule({
16       declarations: [RgwMultisiteSyncPolicyFormComponent],
17       imports: [
18         HttpClientTestingModule,
19         ReactiveFormsModule,
20         ToastrModule.forRoot(),
21         PipesModule,
22         ComponentsModule,
23         RouterTestingModule
24       ],
25       providers: []
26     }).compileComponents();
27
28     fixture = TestBed.createComponent(RgwMultisiteSyncPolicyFormComponent);
29     component = fixture.componentInstance;
30     fixture.detectChanges();
31   });
32
33   it('should create', () => {
34     expect(component).toBeTruthy();
35   });
36 });