feat: add main component as app entry page

This commit is contained in:
2025-12-11 21:39:13 -03:00
parent 158440d5c8
commit 54ac7e0210
5 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Main } from './main';
import { STRINGS_INJECTOR } from '../../app.config';
import { strings } from '../../strings';
describe('Main', () => {
let component: Main;
let fixture: ComponentFixture<Main>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [Main],
providers: [{ provide: STRINGS_INJECTOR, useValue: strings }],
}).compileComponents();
fixture = TestBed.createComponent(Main);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});