import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Home } from './home'; import { Sqlite } from '../../services/sqlite'; import { provideTranslateService } from '@ngx-translate/core'; import { BottomNavigationBar } from '../../components/bottom-navigation-bar/bottom-navigation-bar'; describe('Home', () => { let component: Home; let fixture: ComponentFixture; beforeEach(async () => { TestBed.overrideComponent(BottomNavigationBar, { set: {template: ``} }); await TestBed.configureTestingModule({ imports: [Home], providers: [{ provide: Sqlite, useValue: {} }, provideTranslateService({})], }).compileComponents(); fixture = TestBed.createComponent(Home); component = fixture.componentInstance; await fixture.whenStable(); }); it('should create', () => { expect(component).toBeTruthy(); }); });