24 lines
582 B
TypeScript
24 lines
582 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { UserComponent } from './user.component';
|
|
|
|
describe('UserComponent', () => {
|
|
let component: UserComponent;
|
|
let fixture: ComponentFixture<UserComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
imports: [UserComponent]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(UserComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|