import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { TrackingComponent } from './tracking.component'; describe('TrackingComponent', () => { let component: TrackingComponent; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ TrackingComponent ], imports: [IonicModule.forRoot()] }).compileComponents(); fixture = TestBed.createComponent(TrackingComponent); component = fixture.componentInstance; fixture.detectChanges(); })); it('should create', () => { expect(component).toBeTruthy(); }); });