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