1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { PopoverModule } from 'ngx-bootstrap/popover';
5 import { NotificationService } from '../../../shared/services/notification.service';
6 import { NotificationsComponent } from './notifications.component';
8 describe('NotificationsComponent', () => {
9 let component: NotificationsComponent;
10 let fixture: ComponentFixture<NotificationsComponent>;
12 const fakeService = new NotificationService(null);
16 TestBed.configureTestingModule({
17 imports: [PopoverModule.forRoot()],
18 declarations: [NotificationsComponent],
19 providers: [{ provide: NotificationService, useValue: fakeService }]
20 }).compileComponents();
25 fixture = TestBed.createComponent(NotificationsComponent);
26 component = fixture.componentInstance;
27 fixture.detectChanges();
30 it('should create', () => {
31 expect(component).toBeTruthy();