25 lines
647 B
TypeScript
25 lines
647 B
TypeScript
|
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();
|
||
|
});
|
||
|
});
|