feat: add home page

This commit is contained in:
2026-02-07 23:59:26 -03:00
parent 267f660512
commit 3ee45adaa6
3 changed files with 42 additions and 0 deletions

View File

View File

@@ -0,0 +1,31 @@
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<Home>;
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();
});
});

View File

@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-home',
imports: [],
templateUrl: './home.html',
styles: ``,
})
export class Home {
}