選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

tab1.page.spec.ts 761 B

12345678910111213141516171819202122232425
  1. import { async, 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. 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. });