import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; import { EntitiesPage } from './entities.page'; import { TranslateModule } from '@ngx-translate/core'; import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import { provideHttpClientTesting } from '@angular/common/http/testing'; describe('EntitiesPage', () => { let component: EntitiesPage; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EntitiesPage], schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [TranslateModule.forRoot()], providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()], }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(EntitiesPage); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });