summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
blob: 5d144a4303c1863219253d25b59e261ac6d16d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TranslateModule } from '@ngx-translate/core';
import { NzNotificationService } from 'ng-zorro-antd';
import { NgZorroAntdModule } from 'ng-zorro-antd';

import { NotificationComponent } from './notification.component';

describe('NotificationComponent', () => {
  let component: NotificationComponent;
  let fixture: ComponentFixture<NotificationComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ NotificationComponent ],
      imports: [ TranslateModule, NgZorroAntdModule ],
      providers: [ NzNotificationService ]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(NotificationComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});