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