26 lines
671 B
TypeScript
26 lines
671 B
TypeScript
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||
|
|
||
|
import { ErrorMessageComponent } from './error-message.component';
|
||
|
|
||
|
describe('ErrorMessageComponent', () => {
|
||
|
let component: ErrorMessageComponent;
|
||
|
let fixture: ComponentFixture<ErrorMessageComponent>;
|
||
|
|
||
|
beforeEach(async(() => {
|
||
|
TestBed.configureTestingModule({
|
||
|
declarations: [ ErrorMessageComponent ]
|
||
|
})
|
||
|
.compileComponents();
|
||
|
}));
|
||
|
|
||
|
beforeEach(() => {
|
||
|
fixture = TestBed.createComponent(ErrorMessageComponent);
|
||
|
component = fixture.componentInstance;
|
||
|
fixture.detectChanges();
|
||
|
});
|
||
|
|
||
|
it('should create', () => {
|
||
|
expect(component).toBeTruthy();
|
||
|
});
|
||
|
});
|