projecte_ionic_entrega_01/src/app/pages/main/main.page.spec.ts

25 lines
647 B
TypeScript
Raw Normal View History

2021-12-01 18:35:44 +01:00
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { MainPage } from './main.page';
describe('MainPage', () => {
let component: MainPage;
let fixture: ComponentFixture<MainPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ MainPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(MainPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});