]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
382f9df2bac3b40fc899c413d486797adaaf6953
[ceph.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { ReactiveFormsModule } from '@angular/forms';
3
4 import { BsModalRef } from 'ngx-bootstrap/modal';
5
6 import { SharedModule } from '../../../shared/shared.module';
7 import { RgwUserS3KeyModalComponent } from './rgw-user-s3-key-modal.component';
8
9 describe('RgwUserS3KeyModalComponent', () => {
10   let component: RgwUserS3KeyModalComponent;
11   let fixture: ComponentFixture<RgwUserS3KeyModalComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       declarations: [ RgwUserS3KeyModalComponent ],
16       imports: [
17         ReactiveFormsModule,
18         SharedModule
19       ],
20       providers: [ BsModalRef ]
21     })
22     .compileComponents();
23   }));
24
25   beforeEach(() => {
26     fixture = TestBed.createComponent(RgwUserS3KeyModalComponent);
27     component = fixture.componentInstance;
28     fixture.detectChanges();
29   });
30
31   it('should create', () => {
32     expect(component).toBeTruthy();
33   });
34 });