@ -25,11 +25,16 @@ import { defineUixServices } from './services';
import type { LangNode } from '$libs/langs' ;
import { standardPrefsDimensions } from '$prefs' ;
import { _resetMorfoRegistryForTesting , registerMorfo , v , type Morfo } from '$uix/morfo' ;
import { fileUploadMorfo } from '$uix/morfo/components/file-upload' ;
import { alertDialogMorfo } from '$uix/morfo/components/alert-dialog' ;
import { announceMorfo } from '$uix/morfo/components/announce' ;
import { breadcrumbMorfo } from '$uix/morfo/components/breadcrumb' ;
import { carouselMorfo } from '$uix/morfo/components/carousel' ;
import { clipboardMorfo } from '$uix/morfo/components/clipboard' ;
import { comboboxMorfo } from '$uix/morfo/components/combobox' ;
import { commandMorfo } from '$uix/morfo/components/command' ;
import { drawerMorfo } from '$uix/morfo/components/drawer' ;
import { feedMorfo } from '$uix/morfo/components/feed' ;
import { fileUploadMorfo } from '$uix/morfo/components/file-upload' ;
import { gridListMorfo } from '$uix/morfo/components/grid-list' ;
import { listboxMorfo } from '$uix/morfo/components/listbox' ;
import { meterMorfo } from '$uix/morfo/components/meter' ;
@ -254,6 +259,18 @@ describe('createActiveUix (standalone)', () => {
expect ( uix . langs . t ( 'components.table.row-detail-collapse' ) ) . toBe ( 'Ocultar detalles' ) ;
expect ( uix . langs . t ( 'components.table.toggle-detail' ) ) . toBe ( 'Alternar detalle' ) ;
expect ( uix . langs . t ( 'components.pagination.page' , { value : 4 } ) ) . toBe ( 'Página 4' ) ;
registerMorfo ( alertDialogMorfo ) ;
registerMorfo ( announceMorfo ) ;
registerMorfo ( breadcrumbMorfo ) ;
registerMorfo ( clipboardMorfo ) ;
registerMorfo ( carouselMorfo ) ;
expect ( uix . langs . t ( 'components.alert-dialog.action' ) ) . toBe ( 'Confirmar' ) ;
expect ( uix . langs . t ( 'components.announce.label' ) ) . toBe ( 'Anuncios' ) ;
expect ( uix . langs . t ( 'components.breadcrumb.ellipsis' ) ) . toBe ( 'Más' ) ;
expect ( uix . langs . t ( 'components.clipboard.copy' ) ) . toBe ( 'Copiar al portapapeles' ) ;
expect ( uix . langs . t ( 'components.carousel.indicator' , { index : 2 } ) ) . toBe (
'Ir a la diapositiva 2'
) ;
} finally {
uix . dispose ( ) ;
_resetMorfoRegistryForTesting ( ) ;