]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
11799a430f094804a6980a3282a18f3bdd6dcad9
[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
10 describe('RgwMultisiteWizardComponent', () => {
11   let component: RgwMultisiteWizardComponent;
12   let fixture: ComponentFixture<RgwMultisiteWizardComponent>;
13
14   beforeEach(async () => {
15     await TestBed.configureTestingModule({
16       declarations: [RgwMultisiteWizardComponent],
17       imports: [HttpClientTestingModule, SharedModule, ReactiveFormsModule, ToastrModule.forRoot()],
18       providers: [NgbActiveModal]
19     }).compileComponents();
20
21     fixture = TestBed.createComponent(RgwMultisiteWizardComponent);
22     component = fixture.componentInstance;
23     fixture.detectChanges();
24   });
25
26   it('should create', () => {
27     expect(component).toBeTruthy();
28   });
29 });