refactor: form field validation dict to signal for multilang

This commit is contained in:
2025-12-24 22:19:25 -03:00
parent 10f9b77807
commit 10dd04dad7
9 changed files with 36 additions and 25 deletions

View File

@@ -12,7 +12,10 @@ describe('ContactForm', () => {
let languageManager: jasmine.SpyObj<LanguageManager>;
beforeEach(async () => {
languageManager = jasmine.createSpyObj(LanguageManager.name, [], { strings: strings.en });
languageManager = jasmine.createSpyObj(LanguageManager.name, [], {
strings: strings.en,
selectedLanguage$: () => 'en',
});
await TestBed.configureTestingModule({
imports: [ContactForm],