tree.page.spec.ts 764 B

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