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 { HomePage } from './home.page';
|
|
|
|
describe('HomePage', () => {
|
|
let component: HomePage;
|
|
let fixture: ComponentFixture<HomePage>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [ HomePage ],
|
|
imports: [IonicModule.forRoot()]
|
|
}).compileComponents();
|
|
|
|
fixture = TestBed.createComponent(HomePage);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
}));
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|