tab1.page.spec.ts 786 B

1234567891011121314151617181920212223242526
  1. import { ComponentFixture, TestBed } from '@angular/core/testing';
  2. import { IonicModule } from '@ionic/angular';
  3. import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';
  4. import { Tab1Page } from './tab1.page';
  5. describe('Tab1Page', () => {
  6. let component: Tab1Page;
  7. let fixture: ComponentFixture<Tab1Page>;
  8. beforeEach(async () => {
  9. await TestBed.configureTestingModule({
  10. declarations: [Tab1Page],
  11. imports: [IonicModule.forRoot(), ExploreContainerComponentModule]
  12. }).compileComponents();
  13. fixture = TestBed.createComponent(Tab1Page);
  14. component = fixture.componentInstance;
  15. fixture.detectChanges();
  16. });
  17. it('should create', () => {
  18. expect(component).toBeTruthy();
  19. });
  20. });