27 lines
674 B
TypeScript
27 lines
674 B
TypeScript
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
|
|
|
|
import {UserNameComponent} from './user-name.component';
|
|
|
|
describe('UserNameComponent', () => {
|
|
let component: UserNameComponent;
|
|
let fixture: ComponentFixture<UserNameComponent>;
|
|
|
|
beforeEach(
|
|
waitForAsync(() => {
|
|
void TestBed.configureTestingModule({
|
|
declarations: [UserNameComponent],
|
|
}).compileComponents();
|
|
}),
|
|
);
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(UserNameComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
void expect(component).toBeTruthy();
|
|
});
|
|
});
|