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