UNPKG

coreui-angular-ex

Version:

CoreUI Components Library for Angular

27 lines (21 loc) 761 B
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AlertComponent } from './alert.component'; describe('AlertComponent', () => { let component: AlertComponent; let fixture: ComponentFixture<AlertComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [BrowserAnimationsModule, AlertComponent] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(AlertComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });