UNPKG

coreui-angular-ex

Version:

CoreUI Components Library for Angular

27 lines (21 loc) 757 B
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { ToasterComponent } from './toaster.component'; import { ToasterHostDirective } from './toaster-host.directive'; describe('ToasterComponent', () => { let component: ToasterComponent; let fixture: ComponentFixture<ToasterComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ToasterComponent, ToasterHostDirective] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(ToasterComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });