user-add.component.spec.ts 636 B

12345678910111213141516171819202122232425
  1. import { async, ComponentFixture, TestBed } from '@angular/core/testing';
  2. import { UserAddComponent } from './user-add.component';
  3. describe('UserAddComponent', () => {
  4. let component: UserAddComponent;
  5. let fixture: ComponentFixture<UserAddComponent>;
  6. beforeEach(async(() => {
  7. TestBed.configureTestingModule({
  8. declarations: [ UserAddComponent ]
  9. })
  10. .compileComponents();
  11. }));
  12. beforeEach(() => {
  13. fixture = TestBed.createComponent(UserAddComponent);
  14. component = fixture.componentInstance;
  15. fixture.detectChanges();
  16. });
  17. it('should create', () => {
  18. expect(component).toBeTruthy();
  19. });
  20. });