import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { BunkComponent } from './bunk.component';
describe('BunkComponent', () => {
let component: BunkComponent;
let fixture: ComponentFixture<BunkComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ BunkComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(BunkComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
Wednesday, September 18, 2019
the generic test the Angular-CLI makes for a component
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment