refactor(frontend): rename booklore-ui to frontend
- Frontend path: - rename the tracked Angular app tree from `booklore-ui/` to `frontend/` - preserve file contents during the move so this commit stays focused on the path change itself - Frontend docs: - update the moved frontend README and contribution guide where they refer to the renamed folder - keep those edits limited to path references introduced by the directory rename
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import {TranslocoTestingModule, TranslocoTestingOptions} from '@jsverse/transloco';
|
||||
import {EN_TRANSLATIONS} from '../config/transloco-loader';
|
||||
|
||||
export function getTranslocoModule(options: TranslocoTestingOptions = {}) {
|
||||
return TranslocoTestingModule.forRoot({
|
||||
langs: {en: EN_TRANSLATIONS, ...options.langs},
|
||||
translocoConfig: {
|
||||
availableLangs: ['en'],
|
||||
defaultLang: 'en',
|
||||
...options.translocoConfig,
|
||||
},
|
||||
...options,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user