]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; |
2 | import { ReactiveFormsModule } from '@angular/forms'; | |
3 | import { RouterTestingModule } from '@angular/router/testing'; | |
4 | ||
f67539c2 | 5 | import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; |
11fdf7f2 | 6 | |
f67539c2 TL |
7 | import { SharedModule } from '~/app/shared/shared.module'; |
8 | import { configureTestBed } from '~/testing/unit-test-helper'; | |
11fdf7f2 TL |
9 | import { RgwUserS3KeyModalComponent } from './rgw-user-s3-key-modal.component'; |
10 | ||
11 | describe('RgwUserS3KeyModalComponent', () => { | |
12 | let component: RgwUserS3KeyModalComponent; | |
13 | let fixture: ComponentFixture<RgwUserS3KeyModalComponent>; | |
14 | ||
15 | configureTestBed({ | |
16 | declarations: [RgwUserS3KeyModalComponent], | |
17 | imports: [ReactiveFormsModule, SharedModule, RouterTestingModule], | |
f67539c2 | 18 | providers: [NgbActiveModal] |
11fdf7f2 TL |
19 | }); |
20 | ||
21 | beforeEach(() => { | |
22 | fixture = TestBed.createComponent(RgwUserS3KeyModalComponent); | |
23 | component = fixture.componentInstance; | |
24 | fixture.detectChanges(); | |
25 | }); | |
26 | ||
27 | it('should create', () => { | |
28 | expect(component).toBeTruthy(); | |
29 | }); | |
30 | }); |