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