createTestTranslationService
Test utility to create a configured FakeTranslationService with default translations
Presentation
function createTestTranslationService (
initialTranslations: Record<string, string> = DEFAULT_TEST_TRANSLATIONS ,
): FakeTranslationService ;Returns
Parameters
| Name | Type | Description |
|---|---|---|
| initialTranslations | Record<string, string> |