]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
5b081d8d7208f3476ebe53065f2b32f57af047e0
[ceph-ci.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { ToastModule } from 'ng2-toastr';
4 import { PopoverModule } from 'ngx-bootstrap/popover';
5
6 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
7 import { SharedModule } from '../../../shared/shared.module';
8 import { NotificationsComponent } from './notifications.component';
9
10 describe('NotificationsComponent', () => {
11   let component: NotificationsComponent;
12   let fixture: ComponentFixture<NotificationsComponent>;
13
14   configureTestBed({
15     imports: [PopoverModule.forRoot(), SharedModule, ToastModule.forRoot()],
16     declarations: [NotificationsComponent],
17     providers: i18nProviders
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(NotificationsComponent);
22     component = fixture.componentInstance;
23     fixture.detectChanges();
24   });
25
26   it('should create', () => {
27     expect(component).toBeTruthy();
28   });
29 });