tab1.page.spec.ts 798 B

123456789101112131415161718192021222324252627
  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. import{Component}from'@angular/core';
  6. describe('Tab1Page', () => {
  7. let component: Tab1Page;
  8. let fixture: ComponentFixture<Tab1Page>;
  9. beforeEach(async () => {
  10. await TestBed.configureTestingModule({
  11. declarations: [Tab1Page],
  12. imports: [IonicModule.forRoot(), ExploreContainerComponentModule]
  13. }).compileComponents();
  14. fixture = TestBed.createComponent(Tab1Page);
  15. component = fixture.componentInstance;
  16. fixture.detectChanges();
  17. });
  18. it('should create', () => {
  19. expect(component).toBeTruthy();
  20. });
  21. });