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