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