g.component.spec.ts 607 B

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